Add setup.py

This commit is contained in:
Sebastien Bourdeauducq 2013-04-19 14:04:59 +02:00
parent 6204bcfa10
commit bd0ae6592e
1 changed files with 37 additions and 0 deletions

37
setup.py Executable file
View File

@ -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",
],
)