-
Notifications
You must be signed in to change notification settings - Fork 62
/
setup.py
37 lines (29 loc) · 953 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
#!/usr/bin/env python
from os import path
from setuptools import setup
install_requires = [
"gdspy>=1.5",
"numpy",
"matplotlib",
]
extras_require = {}
extras_require["all"] = ["freetype-py", "klayout", "rectpack", "scipy"]
extras_require["test"] = extras_require["all"] + ["pytest"]
# read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="phidl",
version="1.7.2",
description="PHIDL",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=install_requires,
extras_require=extras_require,
author="Adam McCaughan",
author_email="[email protected]",
packages=["phidl"],
py_modules=["phidl.geometry", "phidl.routing", "phidl.utilities", "phidl.path"],
package_dir={"phidl": "phidl"},
)