moved back to pure setup.cfg based config, added console script

This commit is contained in:
Simon Pirkelmann 2022-09-17 22:25:32 +02:00
parent a13e7b3e29
commit 7ec0ba251d
3 changed files with 26 additions and 16 deletions

View File

@ -16,6 +16,31 @@ classifiers =
License :: OSI Approved :: GNU General Public License v3 (GPLv3) License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Operating System :: OS Independent Operating System :: OS Independent
[options]
python_requires = >=3.8
install_requires =
bleach
Flask
Flask-Mail
Flask-Security-Too>=5.0.1
Flask-SQLAlchemy
Flask-WTF
email_validator
paho-mqtt
ldap3
wtforms
include_package_data = True
packages = find:
setup_requires =
wheel
tests_require = pytest>=3
zip_safe = False
[options.entry_points]
console_scripts =
launch_webinterface = imaginaerraum_door_admin.bin.launch_webadmin:main
[options.extras_require] [options.extras_require]
dev = dev =
pytest pytest

View File

@ -1,18 +1,3 @@
from setuptools import setup from setuptools import setup
setup(install_requires=[ setup()
"bleach",
"Flask",
"Flask-Mail",
"Flask-Security-Too>=5.0.1",
"Flask-SQLAlchemy",
"Flask-WTF",
"email_validator",
"paho-mqtt",
"ldap3",
"wtforms"
],
include_package_data=True,
scripts=['bin/launch_webadmin.py'],
packages=['imaginaerraum_door_admin'],
zip_safe=False)