forked from HRL-Laboratories/spinqick
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (32 loc) · 1.08 KB
/
setup.py
File metadata and controls
36 lines (32 loc) · 1.08 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
import os
from setuptools import find_packages, setup
with open("VERSION.txt", "r") as f:
__version__ = f.read().strip()
# Specify UTF-8 to guard against systems that default to an ASCII locale.
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
setup(
name="spinqick",
version=__version__,
packages=find_packages("src"),
package_dir={"": "src"},
# Uncomment next line if you need to include data files in installed packages
# include_package_data=True # Recommend using MANIFEST.in to specify package files
long_description=long_description,
long_description_content_type="text/markdown",
# pip install not supported, only conda
# dependencies should be specified in dev_environment.yml and conda/meta.yaml
install_requires=[
"lmfit",
"matplotlib",
"netcdf4",
"numpy<=1.26.0",
"pydantic",
"pydantic-settings",
"scipy",
"Pyro4",
"scikit-learn",
],
python_requires=">=3.10",
package_data={"spinqick": ["config/*.yaml", "config/*.json"]},
)