Add include and scripts
This commit is contained in:
parent
8ff880645a
commit
43e759c714
|
@ -5,6 +5,7 @@ description = "A simple Teamspeak stats generator"
|
||||||
authors = ["Thor77 <thor77@thor77.org>"]
|
authors = ["Thor77 <thor77@thor77.org>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "README.rst"
|
readme = "README.rst"
|
||||||
|
include = ["tsstats/templates/*.jinja2"]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.10"
|
python = "^3.10"
|
||||||
|
@ -18,6 +19,9 @@ pylama = "^8.4.1"
|
||||||
poethepoet = "^0.18.0"
|
poethepoet = "^0.18.0"
|
||||||
pytest-cov = "^4.0.0"
|
pytest-cov = "^4.0.0"
|
||||||
|
|
||||||
|
[tool.poetry.scripts]
|
||||||
|
tsstats = 'tsstats.__main__:cli'
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["poetry-core"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
25
setup.py
25
setup.py
|
@ -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'
|
|
||||||
],
|
|
||||||
)
|
|
Loading…
Reference in New Issue