forked from openfisca/openfisca-core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
83 lines (76 loc) · 2.61 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#! /usr/bin/env python
from setuptools import setup, find_packages
# Please make sure to cap all dependency versions, in order to avoid unwanted
# functional and integration breaks caused by external code updates.
general_requirements = [
'dpath >= 1.5.0, < 2.0.0',
'nptyping == 1.4.4',
'numexpr >= 2.7.0, <= 3.0',
'numpy >= 1.11, < 1.21',
'psutil >= 5.4.7, < 6.0.0',
'pytest >= 4.4.1, < 6.0.0', # For openfisca test
'PyYAML >= 3.10',
'sortedcontainers == 2.2.2',
'typing-extensions == 3.10.0.2',
]
api_requirements = [
'flask == 1.1.2',
'flask-cors == 3.0.10',
'gunicorn >= 20.0.0, < 21.0.0',
'werkzeug >= 1.0.0, < 2.0.0',
]
dev_requirements = [
'autopep8 >= 1.4.0, < 1.6.0',
'coverage == 6.0.2',
'darglint == 1.8.0',
'flake8 >= 3.9.0, < 4.0.0',
'flake8-bugbear >= 19.3.0, < 20.0.0',
'flake8-docstrings == 1.6.0',
'flake8-print >= 3.1.0, < 4.0.0',
'flake8-rst-docstrings == 0.2.3',
'mypy == 0.910',
'openfisca-country-template >= 3.10.0, < 4.0.0',
'openfisca-extension-template >= 1.2.0rc0, < 2.0.0',
'pylint == 2.10.2',
] + api_requirements
setup(
name = 'OpenFisca-Core',
version = '35.7.4',
author = 'OpenFisca Team',
author_email = '[email protected]',
classifiers = [
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Information Analysis',
],
description = 'A versatile microsimulation free software',
keywords = 'benefit microsimulation social tax',
license = 'https://www.fsf.org/licensing/licenses/agpl-3.0.html',
url = 'https://github.com/openfisca/openfisca-core',
data_files = [
(
'share/openfisca/openfisca-core',
['CHANGELOG.md', 'LICENSE', 'README.md'],
),
],
entry_points = {
'console_scripts': [
'openfisca=openfisca_core.scripts.openfisca_command:main',
'openfisca-run-test=openfisca_core.scripts.openfisca_command:main',
],
},
extras_require = {
'web-api': api_requirements,
'dev': dev_requirements,
'tracker': [
'openfisca-tracker == 0.4.0',
],
},
include_package_data = True, # Will read MANIFEST.in
install_requires = general_requirements,
packages = find_packages(exclude=['tests*']),
)