python: add setup.py to allow installing prjxray libraries

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
Alessandro Comodi 2020-04-29 12:55:04 +02:00
parent 3749dc63c4
commit 3b578fdc4f
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",
],
)