Add include and scripts

This commit is contained in:
Thor77 2023-01-14 12:48:58 +01:00 committed by Jonas Seydel
parent 8ff880645a
commit 43e759c714
2 changed files with 4 additions and 25 deletions

View File

@ -5,6 +5,7 @@ description = "A simple Teamspeak stats generator"
authors = ["Thor77 <thor77@thor77.org>"]
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"

View File

@ -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'
],
)