28 lines
746 B
Python
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'))
|
|
)
|