forked from pdearena/pdearena
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (60 loc) · 1.66 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
57
58
59
60
61
62
63
64
65
66
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
import os.path as osp
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as fh:
long_description = fh.read()
exec(open(osp.join(osp.dirname(__file__), "pdearena", "version.py")).read())
extras = {
"datagen": [
"phiflow==2.1",
"fdtd==0.2.5",
"joblib",
"juliapkg",
"tqdm",
],
}
base_requires = [
"pytorch-lightning>=1.7",
"numpy",
"xarray",
"h5py",
"click",
"torch>=1.12",
"torchdata",
"matplotlib",
"jsonargparse",
"omegaconf",
"tensorboard",
"pytest",
"pytest-mock",
"pytest-explicit",
"diffusers==0.17.1",
"cliffordlayers",
]
setup(
name="pdearena",
description="PyTorch library for PDE Surrogate Benchmarking",
install_requires=base_requires,
extras_require=extras,
packages=find_packages(),
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
version=__version__,
author="Jayesh K. Gupta, Johannes Brandstetter, and contributors",
python_requires=">=3.6",
zip_safe=True,
project_urls={
"Documentation": "https://microsoft.github.io/pdearena",
"Source code": "https://github.com/microsoft/pdearena",
"Bug Tracker": "https://github.com/microsoft/pdearena/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)