/
setup.py
41 lines (35 loc) · 1.14 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
# -*- coding: utf-8 -*-
"""
Pypi update instruction:
1) update the version number in setup.py.
2) run 'python setup.py sdist bdist_wheel' to build whl.
3) run 'python -m twine upload dist/*'.
4) type username and password.
"""
from setuptools import setup, find_packages
with open("README.md") as f:
readme = f.read()
with open("LICENSE") as f:
license = f.read()
setup(
name="laygo2",
version="0.5.6",
author="Jaeduk Han",
description="LAYout with Gridded Object 2 - A Python Package for Scripted IC Layout Generation Flow",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/niftylab/laygo2", # project address
license=license,
packages=find_packages(exclude=("tests", "docs", "laygo2_tech_quick_start", "laygo2_tech")),
package_data={
"": [
"interface/skill_export.il",
"interface/magic_export.tcl",
"interface/gds_default.layermap",
"examples/laygo2_tech/laygo2_tech.yaml",
"examples/laygo2_tech/laygo2_tech.layermap",
]
},
include_package_data=True,
python_requires=">=3.5",
)