forked from gdsfactory/gdsfactory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (64 loc) · 2.26 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
67
68
69
70
71
72
from setuptools import find_packages, setup
with open("requirements.txt") as f:
requirements = [
line.strip() for line in f.readlines() if not line.strip().startswith("-")
]
with open("requirements_dev.txt") as f:
requirements_dev = [
line.strip() for line in f.readlines() if not line.strip().startswith("-")
]
with open("requirements_full.txt") as f:
requirements_full = [
line.strip() for line in f.readlines() if not line.strip().startswith("-")
]
with open("requirements_exp.txt") as f:
requirements_exp = [
line.strip() for line in f.readlines() if not line.strip().startswith("-")
]
with open("requirements_sipann.txt") as f:
requirements_sipann = [
line.strip() for line in f.readlines() if not line.strip().startswith("-")
]
with open("README.md") as f:
long_description = f.read()
setup(
name="gdsfactory",
url="https://github.com/gdsfactory/gdsfactory",
version="5.23.0",
author="gdsfactory community",
description="python library to generate GDS layouts",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
python_requires=">=3.7",
license="MIT",
entry_points="""
[console_scripts]
gf=gdsfactory.gf:gf
""",
extras_require={
"full": list(set(requirements + requirements_full)),
"sipann": requirements_sipann,
"tidy3d": ["tidy3d-beta==1.5.0"],
"dev": list(set(requirements + requirements_dev)),
"exp": list(set(requirements + requirements_exp)),
},
package_data={
"": ["*.gds", "*.yml", "*.lyp", "*.json"],
},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Framework :: Pytest",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
],
)