From 5f53e6473a4da13198db11e85de35badb46546e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alain=20P=C3=A9teut?= Date: Sat, 24 Dec 2011 13:46:08 +0100 Subject: [PATCH] Add setup script --- setup.py | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 setup.py diff --git a/setup.py b/setup.py new file mode 100755 index 000000000..4bdf62e44 --- /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", + ], +)