-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
56 lines (50 loc) · 1.43 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
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
import os, sys, subprocess
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
sys.path.append(here)
# import versioneer # noqa: E402
# get the long description from the README file
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
# metadata
name="tsadar",
description="Thomson Scattering Analysis software",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ergodicio/tsadar",
author="Avi Milder, Archis Joglekar",
author_email="amild@lle.rochester.edu, archis@ergodic.io",
version="0.0.2",
# cmdclass=versioneer.get_cmdclass(),
packages=find_packages(),
python_requires=">=3.11",
package_data={"tsadar": ["external/**/*"]},
include_package_data=True,
install_requires=[
"numpy",
"scipy",
"matplotlib",
# "pyhdf", # install using conda, has hdf5 dependencies that need configuring otherwise
"xlrd",
"pyyaml",
"mlflow",
"mlflow_export_import",
"boto3",
"flatten-dict",
"optax",
"tqdm",
"jaxopt",
"xarray",
"mlflow_export_import",
"pandas",
"interpax",
"tabulate",
"psutil",
],
extras_require={
"cpu": ["jax"],
"gpu": ["jax[cuda12]"],
},
)