-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
47 lines (40 loc) · 1.17 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
import os
from pathlib import Path
from typing import List
from setuptools import find_namespace_packages, setup
def local_pkg(name: str, relative_path: str) -> str:
"""Returns an absolute path to a local package."""
path = f"{name} @ file://{Path(os.path.abspath(__file__)).parent / relative_path}"
return path
requirements: List[str] = [
"ndsl",
"dacite",
"pyyaml",
"mpi4py",
"numpy",
"netCDF4",
"xarray",
"zarr",
]
setup(
author="Allen Institute for AI",
author_email="[email protected]",
python_requires=">=3.8",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
install_requires=requirements,
name="pace",
license="BSD license",
packages=find_namespace_packages(include=["pace", "pace.*"]),
include_package_data=True,
url="https://github.com/NOAA-GFDL/pace",
version="0.2.0",
zip_safe=False,
)