Administrator/setup.py
Ethanell c79f4df61b
Some checks failed
Build / SonarQube (push) Failing after 23s
Build / Deploy (push) Successful in 35s
Build / Tests (push) Successful in 1m7s
CI Add tests and package deploy
2024-02-19 20:23:29 +01:00

29 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'))
)