2012-01-31 15:46:08 -05:00
|
|
|
#!/usr/bin/env python3
|
2011-12-26 07:41:35 -05:00
|
|
|
# vim: noexpandtab:tabstop=8:softtabstop=8
|
2011-12-24 07:46:08 -05:00
|
|
|
""" Migen's distutils distribution and installation script. """
|
|
|
|
|
|
|
|
import sys, os
|
2012-03-10 14:01:14 -05:00
|
|
|
from setuptools import setup
|
|
|
|
from setuptools import find_packages
|
2011-12-24 07:46:08 -05:00
|
|
|
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
README = open(os.path.join(here, "README")).read()
|
|
|
|
|
2012-01-31 15:46:08 -05:00
|
|
|
required_version = (3, 1)
|
2011-12-26 07:41:35 -05:00
|
|
|
if sys.version_info < required_version:
|
|
|
|
raise SystemExit("migen requires python {0} or greater".format(
|
|
|
|
".".join(map(str, required_version))))
|
2011-12-24 07:46:08 -05:00
|
|
|
|
|
|
|
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",
|
2012-03-10 14:01:14 -05:00
|
|
|
packages=find_packages(here),
|
2011-12-24 07:46:08 -05:00
|
|
|
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",
|
|
|
|
],
|
|
|
|
)
|