forked from aonurakman/demandify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (79 loc) · 2.07 KB
/
pyproject.toml
File metadata and controls
91 lines (79 loc) · 2.07 KB
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
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools>=65.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "demandify"
version = "0.0.6"
description = "Calibrate SUMO traffic simulations against real-world congestion data using genetic algorithms"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Ahmet Onur Akman", email = "ahmetonurakman@gmail.com"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"jinja2>=3.1.0",
"httpx>=0.25.0",
"python-multipart>=0.0.6",
"mapbox-vector-tile>=2.1.0",
"shapely>=2.0.0",
"rtree>=1.1.0",
"protobuf>=4.24.0",
"numpy>=1.24.0",
"pandas>=2.0.0",
"deap>=1.4.0",
"matplotlib>=3.7.0",
"python-dotenv>=1.0.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"pyproj>=3.4.0",
"tqdm>=4.65.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.21.0",
"black>=23.7.0",
"ruff>=0.0.286",
"mypy>=1.5.0",
]
[project.scripts]
demandify = "demandify.__main__:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["demandify*"]
exclude = ["tests*"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
demandify = ["templates/*.html", "static/**/*", "defaults/*.json", "offline_datasets/**/*"]
[tool.setuptools.exclude-package-data]
demandify = ["*.osm", "**/*.osm"]
[tool.black]
line-length = 100
target-version = ['py310']
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "N", "W"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false