/
setup.py
64 lines (57 loc) · 2.13 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
"""Configure packaging.
"""
import re
from setuptools import setup, find_packages
with open('delairstack/__init__.py') as fh:
for line in fh:
m = re.match('^__version__\\s*=\\s*\'([0-9a-z.+-]+)\'', line)
if m:
VERSION = m.group(1)
break
else:
raise RuntimeError('The __init__.py module must provide a version')
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
test_deps = [
'pytest',
'urllib3-mock>=0.3.3'
]
setup(name='python-delairstack',
version=VERSION,
license='MIT',
description='High-level Python interface to Delair.ai API',
long_description=long_description,
long_description_content_type="text/markdown",
author='Delair.ai Backend Team',
author_email='backend-team@delair.aero',
url='https://github.com/delair-ai/python-delairstack',
install_requires=['urllib3>=1.23', 'requests-futures>=0.9.7', 'appdirs>=1.4.3', 'pathvalidate'],
packages=find_packages(exclude=['docs', 'tests*', 'notebooks']),
package_dir={'delairstack': 'delairstack'},
package_data={
'delairstack': ['logging.conf',
'core/utils/vertcrs/*.wkt']
},
test_suite='tests',
tests_require=test_deps,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='sdk delair delair.ai',
extras_require={
'development': ['pycodestyle>=2.4.0'],
'coverage': ['coverage>=4.4', 'pytest-cov'],
'documentation': ['sphinx>=1.8.5', 'sphinx_rtd_theme',
'sphinx_autodoc_typehints',
'sphinx-autobuild', 'recommonmark'],
'tests': test_deps
}
)