-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (108 loc) · 2.71 KB
/
pyproject.toml
File metadata and controls
118 lines (108 loc) · 2.71 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[project]
name = "livelike"
dynamic = ["version"]
authors = [
{name = "Jospeh V. Tuccillo", email = "tuccillojv@ornl.gov"},
{name = "James D. Gaboardi", email = "gaboardijd@ornl.gov"},
]
maintainers = [
{name = "Jospeh V. Tuccillo"},
{name = "James D. Gaboardi"},
]
#license = {text = ""}
description = "A Population Synthesizer for High Demographic Resolution Analysis."
keywords = ["population-synthesis", "high-demographic-resolution"]
readme = "README.md"
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.11"
dependencies = [
"awkward>=2.6",
"certifi>=2025.10.5", # see gh#97, #102
"deprecation",
"dill",
"geopandas>=1.1",
"libpysal>=4.12",
"multiprocess>=0.70",
"networkx>=3.2",
"numpy>=1.26",
"pandas>=2.2",
"pyarrow",
"pygris>=0.1.6",
"scipy>=1.12",
"shapely>=2.0",
# External Ecosystem
"likeness_vitals",
]
[project.urls]
Home = "https://github.com/likeness-pop"
Repository = "https://github.com/likeness-pop/livelike"
[project.optional-dependencies]
jax_cpu = [
"jax>=0.5.3",
"jaxlib>=0.5.3",
"jaxopt>=0.8.3",
]
jax_gpu = [
"jax[cuda12]<=0.4.31",
"jaxlib[cuda12]<=0.4.31",
"jaxopt>=0.8.3",
"cuda-nvcc",
"cudatoolkit",
]
tests = [
"pre-commit",
"pytest",
"pytest-cov",
"pytest-xdist",
"ruff",
"setuptools_scm",
"watermark",
]
notebooks = [
"ipywidgets",
"jupyterlab",
# External Ecosystem
"pymedm",
]
all_cpu = ["livelike[jax_cpu,notebooks,tests]"]
all_gpu = ["livelike[jax_gpu,notebooks,tests]"]
[tool.setuptools.packages.find]
include = [
"livelike",
"livelike.*",
]
[tool.coverage.run]
omit = ["livelike/tests/*"]
source = ["livelike"]
[tool.coverage.report]
exclude_lines = ["except ImportError"]
ignore_errors = true
omit = ["livelike/tests/*"]
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_file = "pytest.log"
log_file_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_file_date_format = "%Y-%m-%d %H:%M:%S"
[tool.ruff]
line-length = 88
lint.select = ["E", "F", "W", "I", "UP", "N", "B", "A", "C4", "SIM", "ARG"]
[tool.ruff.lint.per-file-ignores]
"*__init__.py" = ["F401"] # unused-import
"*.ipynb" = [
"F401",
"C408", # Unnecessary `dict` call (rewrite as a literal)
]