From bd0ae6592e620a83689a45ee40dbbfbd5c0ab174 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 19 Apr 2013 14:04:59 +0200 Subject: [PATCH] Add setup.py --- setup.py | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 setup.py diff --git a/setup.py b/setup.py new file mode 100755 index 000000000..246957127 --- /dev/null +++ b/setup.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python3 + +import sys, os +from setuptools import setup +from setuptools import find_packages + +here = os.path.abspath(os.path.dirname(__file__)) +README = open(os.path.join(here, "README")).read() + +required_version = (3, 1) +if sys.version_info < required_version: + raise SystemExit("Mibuild requires python {0} or greater".format( + ".".join(map(str, required_version)))) + +setup( + name="mibuild", + version="unknown", + description="Build system and board definitions for Migen FPGA designs", + long_description=README, + author="Sebastien Bourdeauducq", + author_email="sebastien@milkymist.org", + url="http://www.milkymist.org", + download_url="https://github.com/milkymist/mibuild", + packages=find_packages(here), + 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", + ], +)