-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·61 lines (59 loc) · 1.65 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from som_opendata import __version__
readme = open("README.md").read()
setup(
name = "somenergia-opendata",
version = __version__,
description =
"Som Energia API for opendata access",
author = "Gisce SSL, Som Energia SCCL",
author_email = "[email protected]",
url = 'https://github.com/Som-Energia/somenergia-api',
long_description = readme,
long_description_content_type = 'text/markdown',
license = 'GNU Affero General Public License v3 or later (AGPLv3+)',
packages=find_packages(exclude=['*[tT]est*']),
scripts=[
'run_api.py',
],
install_requires=[
'cython',
'yamlns>=0.7', # earlier are not Py2 compatible
'Flask',
'Flask-Cors',
'psycopg2-binary',
'consolemsg>=0.3.3',
'wavefile',
'lxml',
'python-dateutil',
'records',
'somutils>=1.7.1',
'colour',
'babel<3',
'flask-babel>3',
'decorator',
'python-slugify',
'future', # Py2 backward compat
'numpy<1.20; python_version<"3.7"', # 1.20 does not support Py 3.6.x
'numpy; python_version>="3.7"', # 1.20 does not support Py 3.6.x
#'cryptography<3.4', # no wheels available for manylinux1
# development
'pytest',
'pytest-cov',
'b2btest',
'coverage',
],
include_package_data = True,
test_suite = 'som_opendata',
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
],
)
# vim: noet ts=4 sw=4