Administrator/setup.py
Florian Charlaix d7c070dbdc
Some checks failed
Build / Tests (push) Failing after 7s
Build / SonarQube (push) Failing after 42s
Build / Deploy (push) Has been cancelled
CI Add tests and package deploy
2024-02-19 20:21:31 +01:00

28 lines
746 B
Python

from setuptools import setup, find_packages
with open("README.md") as f:
readme = f.read()
with open("LICENSE") as f:
license = f.read()
setup(
name='administrator',
setuptools_git_versioning={
"enabled": True,
"version_file": "VERSION",
"count_commits_from_version_file": True,
"dev_template": "{tag}.dev{ccount}",
"dirty_template": "{tag}.{branch}{ccount}",
},
setup_requires=["setuptools-git-versioning"],
description='All purpose Discord bot',
long_description=readme,
author='Ethanell',
author_email='ethanell@flifloo.fr',
url='https://git.flifloo.fr/flifloo/Administrator',
license=license,
packages=find_packages(exclude=('tests', 'docs'))
)