-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
80 lines (70 loc) · 1.84 KB
/
Copy pathsetup.py
File metadata and controls
80 lines (70 loc) · 1.84 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
import os
from setuptools import setup, find_packages
NAME = "AnalysisAndDBScripts"
VERSION = "0.96"
this_directory = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(this_directory, "README.md")
try:
with open(readme_path, encoding="utf-8") as f:
long_description = f.read()
except FileNotFoundError:
long_description = "Utilities for geospatial analytics, forecasting, and database workflows."
install_requires = [
"numpy>=1.23",
"pandas>=1.5",
"scipy>=1.10",
"sqlalchemy>=2.0",
"PyYAML>=6.0",
]
extras_ml = [
"scikit-learn>=1.2",
"statsmodels>=0.14",
"numba>=0.57",
"ruptures>=1.1",
"loky>=3.4",
"petbox-dca>=1.1",
]
extras_bayes = [
"pymc>=5.10",
"arviz>=0.16",
"jax>=0.4.20",
"jaxlib>=0.4.20",
"blackjax>=1.0",
]
extras_geo = [
"geopandas>=0.13",
"shapely>=2.0",
"pyproj>=3.6",
"fiona>=1.9",
"rasterio>=1.3",
"dask_geopandas>=0.4",
]
extras_dev = [
"dask[dataframe,distributed,diagnostics]>=2024.5.0",
"ipykernel>=6.29",
]
extras = {
"geo": extras_geo,
"ml": extras_ml,
"bayes": extras_bayes,
"dev": extras_dev,
}
extras["all"] = sorted({pkg for group in extras.values() for pkg in group})
setup(
name=NAME,
version=VERSION,
packages=find_packages(),
python_requires='>=3.10',
install_requires=install_requires,
extras_require=extras,
include_package_data=True,
zip_safe=False,
author='Jacob Shumway',
author_email='jshumway0475@gmail.com',
description='Geospatial, database, production forecasting, mixed linear modeling, fluid property, material balance, and DCF utilities.',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/jshumway0475/Petroleum',
license='MIT',
license_files=['LICENSE'],
)