Merge pull request #1316 from antmicro/add-setup-package

python: add setup.py to allow installing prjxray libraries
This commit is contained in:
SymbiFlow Robot 2020-04-30 15:23:50 -07:00 committed by GitHub
commit cccc3520ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ run.*.ok
__pycache__
*.pyc
*.swp
*.egg-info

21
setup.py Normal file
View File

@ -0,0 +1,21 @@
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="prjxray",
version="0.0.1",
author="SymbiFlow Authors",
author_email="symbiflow@lists.librecores.org",
description="Project X-Ray libraries",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/SymbiFlow/prjxray",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: ISC License",
"Operating System :: OS Independent",
],
)