-
Notifications
You must be signed in to change notification settings - Fork 113
/
setup.py
45 lines (42 loc) · 992 Bytes
/
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
import setuptools
import sys
extra_install_requires = []
if sys.version_info < (3, 7):
# Use `dataclasses` package as a backport for Python 3.6.
extra_install_requires += ["dataclasses"]
# Install Goos packages if using Python 3.6+.
if sys.version_info >= (3, 6):
extra_install_requires += ["typing-inspect"]
setuptools.setup(
name="spins",
version="0.2.0",
python_requires=">=3.5",
install_requires=[
"contours[shapely]",
"dill",
"flatdict",
"gdspy>=1.4",
"h5py",
"jsonschema",
"matplotlib",
"numpy",
"pandas",
"pyyaml",
"requests",
"schematics",
"scipy",
] + extra_install_requires,
extras_require={
"test": [
"pytest",
"pytest-cov",
"pytest-xdist",
],
"dev": [
"pylint",
"pytype",
"yapf",
],
},
packages=setuptools.find_packages(),
)