-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
50 lines (43 loc) · 1.12 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
# File: setup.py
# File Created: Wednesday, 2nd January 2019 3:55:50 pm
# Author: Steven Atkinson ([email protected])
import setuptools
from setuptools import setup, find_packages
description = (
"Physics-Informed Artificial Intelligence Research "
+ "Assistant for Theory Extraction"
)
dependencies = [
"numpy",
"scikit-learn",
"pandas",
"deap",
"matplotlib", # For demo notebooks
"jupyter",
"ipykernel",
"pytest",
"seaborn",
"tqdm",
"gptorch",
]
try:
import torch
except ImportError as e:
print("Error importing PyTorch:\n{}\n".format(e))
print("If Anaconda is available, we recommend:")
print("$ conda install torch torchvision -c pytorch")
print("See https://pytorch.org/ for additional installation options.")
packages = find_packages(".")
setup(
name="pirate",
version="0.1.0",
description=description,
url="https://github.com/sdatkinson/PIRATE",
author="Steven Atkinson",
author_email="[email protected]",
license="MIT",
install_requires=dependencies,
packages=packages,
include_package_data=True,
zip_safe=False,
)