diff --git a/pyproject.toml b/pyproject.toml index 77f6a42..9cbd742 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,7 @@ description = "A simple Teamspeak stats generator" authors = ["Thor77 "] license = "MIT" readme = "README.rst" +include = ["tsstats/templates/*.jinja2"] [tool.poetry.dependencies] python = "^3.10" @@ -18,6 +19,9 @@ pylama = "^8.4.1" poethepoet = "^0.18.0" pytest-cov = "^4.0.0" +[tool.poetry.scripts] +tsstats = 'tsstats.__main__:cli' + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" diff --git a/setup.py b/setup.py deleted file mode 100644 index ed89a31..0000000 --- a/setup.py +++ /dev/null @@ -1,25 +0,0 @@ -from setuptools import setup - -setup( - name='tsstats', - version='2.0.1', - author='Thor77', - author_email='thor77@thor77.org', - description='A simple Teamspeak stats-generator', - long_description=open('README.rst').read(), - keywords='ts3 teamspeak teamspeak3 tsstats teamspeakstats', - url='https://github.com/Thor77/TeamspeakStats', - packages=['tsstats'], - entry_points={ - 'console_scripts': [ - 'tsstats = tsstats.__main__:cli' - ] - }, - package_data={ - 'tsstats': ['templates/*.jinja2'] - }, - install_requires=[ - 'Jinja2>=2.8', - 'pendulum==1.5.1' - ], -)