Add setup script
authorAlain Péteut <peteut@space.unibe.ch>
Sat, 24 Dec 2011 12:46:08 +0000 (13:46 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 24 Dec 2011 12:46:40 +0000 (13:46 +0100)
setup.py [new file with mode: 0755]

diff --git a/setup.py b/setup.py
new file mode 100755 (executable)
index 0000000..4bdf62e
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,35 @@
+#!/usr/bin/env python3.2
+""" Migen's distutils distribution and installation script. """
+
+import sys, os
+from distutils.core import setup
+
+here = os.path.abspath(os.path.dirname(__file__))
+README = open(os.path.join(here, "README")).read()
+
+if sys.version_info < (3, 2):
+       raise SystemExit("migen requires python 3.2 or greater")
+
+setup(
+       name="migen",
+       version="unknown",
+       description="Python toolbox for building complex digital hardware",
+       long_description=README,
+       author="Sebastien Bourdeauducq",
+       author_email="sebastien@milkymist.org",
+       url="http://www.milkymist.org",
+       download_url="https://github.com/milkymist/migen",
+       packages=['', 'migen'],
+       license="GPL",
+       platforms=["Any"],
+       keywords="HDL ASIC FPGA hardware design",
+       classifiers=[
+               "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
+               "Environment :: Console",
+               "Development Status :: Alpha",
+               "Intended Audience :: Developers",
+               "License :: OSI Approved :: GNU General Public License (GPL)",
+               "Operating System :: OS Independent",
+               "Programming Language :: Python",
+       ],
+)