2020-08-13 17:48:26 +00:00
|
|
|
from setuptools import setup, find_packages
|
2021-03-18 13:05:28 +00:00
|
|
|
import os
|
|
|
|
|
|
|
|
mysql_driver = "PyMySQL" if os.name == "nt" else "mysqlclient"
|
2020-08-13 17:48:26 +00:00
|
|
|
|
|
|
|
setup(
|
2020-09-07 14:07:35 +00:00
|
|
|
name="flaschengeist",
|
|
|
|
version="2.0.0-dev",
|
|
|
|
url="https://wu5.de/redmine/projects/geruecht",
|
|
|
|
author="WU5 + Friends",
|
|
|
|
author_email="tim@groeger-clan.de",
|
|
|
|
description="Does things",
|
2020-08-13 17:48:26 +00:00
|
|
|
packages=find_packages(),
|
2020-10-28 13:21:54 +00:00
|
|
|
package_data={"": ["*.toml"]},
|
2020-09-07 14:07:35 +00:00
|
|
|
scripts=["run_flaschengeist"],
|
2021-03-18 11:20:17 +00:00
|
|
|
python_requires=">=3.7",
|
2020-09-07 14:07:35 +00:00
|
|
|
install_requires=[
|
|
|
|
"Flask >= 1.1",
|
2020-10-28 13:21:54 +00:00
|
|
|
"toml",
|
2021-03-20 11:19:39 +00:00
|
|
|
"sqlalchemy>=1.4",
|
|
|
|
"flask_sqlalchemy>=2.5",
|
2020-09-07 14:07:35 +00:00
|
|
|
"flask_cors",
|
|
|
|
"werkzeug",
|
2021-03-18 16:27:19 +00:00
|
|
|
mysql_driver,
|
2020-09-07 14:07:35 +00:00
|
|
|
],
|
2021-03-25 00:20:26 +00:00
|
|
|
extras_require={"ldap": ["flask_ldapconn", "ldap3"], "pricelist": ["pillow"],"test": ["pytest", "coverage"]},
|
2020-09-01 23:10:54 +00:00
|
|
|
entry_points={
|
2020-09-07 14:07:35 +00:00
|
|
|
"flaschengeist.plugin": [
|
2020-10-30 21:19:16 +00:00
|
|
|
# Authentication providers
|
|
|
|
"auth_plain = flaschengeist.plugins.auth_plain:AuthPlain",
|
|
|
|
"auth_ldap = flaschengeist.plugins.auth_ldap:AuthLDAP [ldap]",
|
|
|
|
# Route providers (and misc)
|
2020-10-30 02:30:46 +00:00
|
|
|
"auth = flaschengeist.plugins.auth:AuthRoutePlugin",
|
|
|
|
"users = flaschengeist.plugins.users:UsersPlugin",
|
|
|
|
"roles = flaschengeist.plugins.roles:RolesPlugin",
|
2020-10-30 21:19:16 +00:00
|
|
|
"balance = flaschengeist.plugins.balance:BalancePlugin",
|
2021-03-20 16:18:17 +00:00
|
|
|
"events = flaschengeist.plugins.events:EventPlugin",
|
2020-10-30 02:30:46 +00:00
|
|
|
"mail = flaschengeist.plugins.message_mail:MailMessagePlugin",
|
2021-03-25 00:20:26 +00:00
|
|
|
"pricelist = flaschengeist.plugins.pricelist:PriceListPlugin [pricelist]",
|
2020-08-22 12:02:39 +00:00
|
|
|
],
|
2020-09-07 14:07:35 +00:00
|
|
|
},
|
2020-08-13 17:48:26 +00:00
|
|
|
)
|