-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
69 lines (64 loc) · 1.96 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
from pathlib import Path
from setuptools import find_packages, setup
# Read the contents of our README file for PyPi
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
# Core requirements with refined version constraints
general_requirements = [
"policyengine_core>=3.14.1",
"black[jupyter]",
"coverage<7",
"dpath<3",
"h5py>=3,<4",
"linecheck<1",
"microdf_python>=0.3.0,<1",
"nptyping<2",
"numexpr<3",
"pandas>=1.4.2,<2",
"plotly>=5.6.0,<6",
"pytest",
"requests>=2.27.1,<3",
"sortedcontainers<3",
"tqdm>=4.46.0,<5",
"wheel<1",
"yaml-changelog==0.3.0",
]
dev_requirements = [
"furo",
"jupyter-book",
"markupsafe",
"pydata-sphinx-theme",
"sphinx",
"sphinx-argparse",
"sphinx-math-dollar",
]
setup(
name="policyengine-canada",
version="0.96.2",
author="PolicyEngine",
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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Information Analysis",
],
description="Microsimulation model for Canada's tax-benefit system.",
keywords="tax benefit microsimulation framework",
license="https://www.fsf.org/licensing/licenses/agpl-3.0.html",
license_files=("LICENSE",),
url="https://github.com/policyengine/policyengine-canada",
long_description=long_description,
long_description_content_type="text/markdown",
extras_require={
"dev": dev_requirements,
},
python_requires=">=3.10,<3.13",
install_requires=general_requirements,
packages=find_packages(),
include_package_data=True,
)