2020-09-17 19:48:57 +00:00
|
|
|
from pathlib import Path
|
2023-03-27 08:22:08 +00:00
|
|
|
|
2018-04-10 15:06:39 +00:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
2023-03-27 08:22:08 +00:00
|
|
|
from ereuse_devicehub import __version__
|
2020-09-17 19:48:57 +00:00
|
|
|
|
2023-03-27 08:22:08 +00:00
|
|
|
test_requires = ['pytest', 'requests_mock']
|
2018-07-08 12:24:02 +00:00
|
|
|
|
2018-04-10 15:06:39 +00:00
|
|
|
setup(
|
2018-06-23 10:13:20 +00:00
|
|
|
name='ereuse-devicehub',
|
2020-09-22 09:57:39 +00:00
|
|
|
version=__version__,
|
2018-04-10 15:06:39 +00:00
|
|
|
url='https://github.com/ereuse/devicehub-teal',
|
2019-06-15 13:08:08 +00:00
|
|
|
project_urls={
|
2020-09-15 11:22:28 +00:00
|
|
|
'Documentation': 'http://devicehub.ereuse.org',
|
2019-06-15 13:08:08 +00:00
|
|
|
'Code': 'http://github.com/ereuse/devicehub-teal',
|
2023-03-27 08:22:08 +00:00
|
|
|
'Issue tracker': 'https://tree.taiga.io/project/ereuseorg-devicehub/issues?q=rules',
|
2019-06-15 13:08:08 +00:00
|
|
|
},
|
2018-04-10 15:06:39 +00:00
|
|
|
license='Affero',
|
|
|
|
author='eReuse.org team',
|
|
|
|
author_email='x.bustamante@ereuse.org',
|
2018-06-10 17:58:27 +00:00
|
|
|
description='A system to manage devices focusing reuse.',
|
2018-07-07 16:51:15 +00:00
|
|
|
packages=find_packages(),
|
|
|
|
include_package_data=True,
|
2019-06-15 13:08:08 +00:00
|
|
|
python_requires='>=3.7.3',
|
2022-04-04 15:23:25 +00:00
|
|
|
long_description=Path('README.md').read_text('utf8'),
|
2018-04-10 15:06:39 +00:00
|
|
|
install_requires=[
|
2023-03-27 08:22:08 +00:00
|
|
|
# 'teal>=0.2.0a38', # teal always first
|
2018-09-03 06:55:15 +00:00
|
|
|
'click',
|
|
|
|
'click-spinner',
|
2023-03-27 08:22:08 +00:00
|
|
|
# 'ereuse-utils[naming,test,session,cli]>=0.4b49',
|
2018-09-03 06:55:15 +00:00
|
|
|
'hashids',
|
|
|
|
'marshmallow_enum',
|
2018-04-10 15:06:39 +00:00
|
|
|
'psycopg2-binary',
|
2018-09-03 06:55:15 +00:00
|
|
|
'python-stdnum',
|
|
|
|
'PyYAML',
|
2019-01-29 18:08:41 +00:00
|
|
|
'requests[security]',
|
2018-05-30 10:49:40 +00:00
|
|
|
'requests-toolbelt',
|
2018-09-30 10:29:33 +00:00
|
|
|
'sqlalchemy-citext',
|
2018-08-03 16:15:08 +00:00
|
|
|
'sqlalchemy-utils[password, color, phone]',
|
2019-05-10 16:00:38 +00:00
|
|
|
'Flask-WeasyPrint',
|
2023-03-27 08:22:08 +00:00
|
|
|
'sortedcontainers',
|
2018-04-10 15:06:39 +00:00
|
|
|
],
|
2018-07-07 16:51:15 +00:00
|
|
|
extras_require={
|
|
|
|
'docs': [
|
|
|
|
'sphinx',
|
|
|
|
'sphinxcontrib-httpdomain >= 1.5.0',
|
2018-08-03 16:15:08 +00:00
|
|
|
'sphinxcontrib-plantuml >= 0.12',
|
2023-03-27 08:22:08 +00:00
|
|
|
'sphinxcontrib-websupport >= 1.0.1',
|
2018-11-06 13:49:16 +00:00
|
|
|
],
|
2023-03-27 08:22:08 +00:00
|
|
|
'docs-auto': ['sphinx-autobuild'],
|
|
|
|
'test': test_requires,
|
2018-07-07 16:51:15 +00:00
|
|
|
},
|
2018-09-16 13:56:20 +00:00
|
|
|
tests_require=test_requires,
|
2023-03-27 08:22:08 +00:00
|
|
|
entry_points={'console_scripts': ['dh = ereuse_devicehub.cli:cli']},
|
|
|
|
setup_requires=['pytest-runner'],
|
2018-06-10 17:58:27 +00:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 2 - Pre-Alpha',
|
2018-04-10 15:06:39 +00:00
|
|
|
'Environment :: Web Environment',
|
2018-07-07 16:51:15 +00:00
|
|
|
'Framework :: Flask',
|
2018-04-10 15:06:39 +00:00
|
|
|
'Intended Audience :: Developers',
|
2018-07-17 17:00:07 +00:00
|
|
|
'License :: OSI Approved :: GNU Affero General Public License v3',
|
2018-04-10 15:06:39 +00:00
|
|
|
'Operating System :: OS Independent',
|
2018-06-10 17:58:27 +00:00
|
|
|
'Programming Language :: Python :: 3 :: Only',
|
2018-04-10 15:06:39 +00:00
|
|
|
'Programming Language :: Python :: 3.5',
|
2018-07-07 16:51:15 +00:00
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
|
|
|
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
|
2018-06-10 17:58:27 +00:00
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
2023-03-27 08:22:08 +00:00
|
|
|
],
|
2018-04-10 15:06:39 +00:00
|
|
|
)
|