forked from efabless/openlane2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·61 lines (58 loc) · 1.73 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
#!/usr/bin/env python3
import os
import subprocess
from setuptools import setup, find_packages
module_name = "openlane"
__dir__ = os.path.abspath(os.path.dirname(__file__))
version = subprocess.check_output(
[
"python3",
os.path.join(
__dir__,
module_name,
"__version__.py",
),
],
encoding="utf8",
)
requirements = open("requirements.txt").read().strip().split("\n")
setup(
name=module_name,
packages=find_packages(),
package_data={
module_name: [
"py.typed",
"open_pdks_rev",
"scripts/*",
"scripts/**/*",
"scripts/**/**/*",
"examples/*",
"examples/**/*",
"examples/**/**/*",
]
},
version=version,
description="An infrastructure for implementing chip design flows",
long_description=open(os.path.join(__dir__, "Readme.md")).read(),
long_description_content_type="text/markdown",
author="Efabless Corporation and Contributors",
author_email="[email protected]",
install_requires=requirements,
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
],
entry_points={
"console_scripts": [
"openlane = openlane.__main__:cli",
"openlane.steps = openlane.steps.__main__:cli",
"openlane.config = openlane.config.__main__:cli",
"openlane.state = openlane.state.__main__:cli",
"openlane.env_info = openlane:env_info_cli",
]
},
python_requires=">3.8",
)