forked from matsim-vsp/matsim-python-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (43 loc) · 1.62 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
import pathlib
from setuptools import setup, find_packages
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
VERSION = (HERE / "VERSION").read_text()
# This call to setup() does all the work
setup(
version=VERSION,
name="matsim-tools",
description="MATSim Agent-Based Transportation Simulation Framework - official python tools",
long_description_content_type="text/markdown",
url="https://github.com/matsim-vsp/matsim-python-tools",
author="VSP-Berlin",
author_email="[email protected]",
license="GPLv3",
classifiers=[
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python :: 3",
],
packages=["matsim"] + ["matsim." + x for x in find_packages(where="matsim")],
install_requires=[
"protobuf >= 3.10.0",
"xopen",
"pandas",
],
extras_require={
'calibration': ["optuna >= 2.7.0", "shapely", "geopandas >= 0.6.0"],
# m2cgen has problems with newer xgb, see this issue
# https://github.com/BayesWitnesses/m2cgen/issues/581
'scenariogen': ["sumolib", "traci", "lxml", "optax", "requests", "tqdm", "scikit-learn", "xgboost==1.7.1", "lightgbm",
"sklearn-contrib-lightning", "numpy", "sympy", "m2cgen", "shapely", "optuna"]
},
tests_require=["assertpy", "pytest"],
entry_points={
'console_scripts': [
'matsim-tools=matsim.cli.main:main',
'matsim-scenariogen=matsim.scenariogen:main'
]
},
long_description=README,
)