-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (62 loc) · 1.73 KB
/
Copy pathsetup.py
File metadata and controls
72 lines (62 loc) · 1.73 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
# setup.py
from setuptools import setup, find_packages
from pathlib import Path
HERE = Path(__file__).parent
setup(
name="mlq4st",
version="0.1.0",
description="ML quantiles → latent Gaussian fields → coherent spatio-temporal simulation",
long_description=(HERE / "README.md").read_text(encoding="utf-8") if (HERE / "README.md").exists() else "",
long_description_content_type="text/markdown",
author="Your Name",
url="https://github.com/<USER>/<REPO>",
license="MIT", # or BSD-3-Clause
package_dir={"": "src"},
packages=find_packages(where="src"),
python_requires=">=3.9",
# Keep core deps lightweight
install_requires=[
"numpy",
"scipy",
"pandas",
"scikit-learn",
],
# Heavy / optional dependencies
extras_require={
# Quantile regression forests
"qrf": [
"quantile-forest", # pip package name for quantile_forest
],
# Torch + quantnn for QRNN
"torch": [
"torch",
"quantnn",
],
# If you truly need quantnn's keras side; otherwise you can omit this extra
"keras": [
"tensorflow", # quantnn.models.keras typically needs TF backend installed
],
# JAX for latent GRF simulation
"jax": [
"jax",
"jaxlib",
],
# Convenience: everything
"all": [
"quantile-forest",
"torch",
"quantnn",
"jax",
"jaxlib",
"tensorflow",
],
# Dev tooling
"dev": [
"pytest",
"ruff",
"black",
"pre-commit",
],
},
include_package_data=True,
)