This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
devicehub-teal/setup.py

74 lines
2.3 KiB
Python
Raw Normal View History

2018-07-07 16:51:15 +00:00
import re
from collections import OrderedDict
2018-04-10 15:06:39 +00:00
from setuptools import find_packages, setup
2018-07-07 16:51:15 +00:00
with open('README.md', encoding='utf8') as f:
long_description = f.read()
2018-07-07 16:51:15 +00:00
with open('ereuse_devicehub/__init__.py', 'rt', encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
2018-04-10 15:06:39 +00:00
setup(
name='ereuse-devicehub',
2018-07-07 16:51:15 +00:00
version=version,
2018-04-10 15:06:39 +00:00
url='https://github.com/ereuse/devicehub-teal',
2018-07-07 16:51:15 +00:00
project_urls=OrderedDict((
('Documentation', 'http://devicheub.ereuse.org'),
('Code', 'http://github.com/ereuse/devicehub-teal'),
('Issue tracker', 'https://tree.taiga.io/project/ereuseorg-devicehub/issues?q=rules')
)),
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,
platforms='any',
python_requires='>=3.5.3',
long_description=long_description,
long_description_content_type='text/markdown',
2018-04-10 15:06:39 +00:00
install_requires=[
2018-07-02 10:52:54 +00:00
'teal>=0.2.0a6',
2018-04-10 15:06:39 +00:00
'marshmallow_enum',
2018-07-08 10:15:07 +00:00
'marshmallow==3.0.0b9'
2018-07-07 16:51:15 +00:00
'ereuse-utils[Naming]>=0.4b1',
2018-04-10 15:06:39 +00:00
'psycopg2-binary',
'requests',
'requests-toolbelt',
2018-06-20 21:18:15 +00:00
'hashids',
2018-07-02 10:52:54 +00:00
'click',
2018-06-21 15:39:40 +00:00
'click-spinner',
'sqlalchemy-utils[password, color, babel]',
2018-06-26 13:36:21 +00:00
'PyYAML',
'python-stdnum'
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',
'sphinxcontrib-plantuml >= 0.11',
'sphinxcontrib-websupport >= 1.0.1'
]
},
2018-04-10 15:06:39 +00:00
tests_requires=[
'pytest',
'pytest-datadir',
'requests_mock'
2018-04-10 15:06:39 +00:00
],
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-07 16:51:15 +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',
2018-06-12 14:50:05 +00:00
]
2018-04-10 15:06:39 +00:00
)