Administrator/setup.py
Florian Charlaix a821ba4668
Some checks failed
Build / SonarQube (push) Failing after 25s
Build / Tests (push) Successful in 48s
Build / Deploy (push) Has been skipped
CI Add tests and package deploy
2024-02-19 20:30:49 +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'))
)