add setup.py
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sat, 14 Feb 2015 10:43:53 +0000 (02:43 -0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 14 Feb 2015 10:44:39 +0000 (02:44 -0800)
setup.py [new file with mode: 0644]

diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..24013e2
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,37 @@
+#!/usr/bin/env python3\r
+\r
+import sys, os\r
+from setuptools import setup\r
+from setuptools import find_packages\r
+\r
+here = os.path.abspath(os.path.dirname(__file__))\r
+README = open(os.path.join(here, "README")).read()\r
+\r
+required_version = (3, 3)\r
+if sys.version_info < required_version:\r
+       raise SystemExit("MiSoC requires python {0} or greater".format(\r
+               ".".join(map(str, required_version))))\r
+\r
+setup(\r
+       name="misoclib",\r
+       version="unknown",\r
+       description="a high performance and small footprint SoC based on Migen",\r
+       long_description=README,\r
+       author="Sebastien Bourdeauducq",\r
+       author_email="sb@m-labs.hk",\r
+       url="http://m-labs.hk",\r
+       download_url="https://github.com/m-labs/misoc",\r
+       packages=find_packages(here),\r
+       license="BSD",\r
+       platforms=["Any"],\r
+       keywords="HDL ASIC FPGA hardware design",\r
+       classifiers=[\r
+               "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",\r
+               "Environment :: Console",\r
+               "Development Status :: Alpha",\r
+               "Intended Audience :: Developers",\r
+               "License :: OSI Approved :: BSD License",\r
+               "Operating System :: OS Independent",\r
+               "Programming Language :: Python",\r
+       ],\r
+)\r