2012-01-31 15:46:08 -05:00
|
|
|
#!/usr/bin/env python3
|
2011-12-24 07:46:08 -05:00
|
|
|
|
|
|
|
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__))
|
2014-09-11 16:22:49 -04:00
|
|
|
README = open(os.path.join(here, "README.md")).read()
|
2011-12-24 07:46:08 -05:00
|
|
|
|
2013-05-16 09:24:11 -04:00
|
|
|
required_version = (3, 3)
|
2011-12-26 07:41:35 -05:00
|
|
|
if sys.version_info < required_version:
|
2012-09-09 13:56:04 -04:00
|
|
|
raise SystemExit("Migen requires python {0} or greater".format(
|
2011-12-26 07:41:35 -05:00
|
|
|
".".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",
|
2014-02-07 17:08:59 -05:00
|
|
|
author_email="sb@m-labs.hk",
|
|
|
|
url="http://m-labs.hk",
|
2013-11-29 17:26:52 -05:00
|
|
|
download_url="https://github.com/m-labs/migen",
|
2012-03-10 14:01:14 -05:00
|
|
|
packages=find_packages(here),
|
2013-11-29 03:47:32 -05:00
|
|
|
test_suite="migen.test",
|
2013-08-01 11:46:46 -04:00
|
|
|
license="BSD",
|
2011-12-24 07:46:08 -05:00
|
|
|
platforms=["Any"],
|
|
|
|
keywords="HDL ASIC FPGA hardware design",
|
|
|
|
classifiers=[
|
|
|
|
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
|
|
|
|
"Environment :: Console",
|
|
|
|
"Development Status :: Alpha",
|
|
|
|
"Intended Audience :: Developers",
|
2013-08-01 11:46:46 -04:00
|
|
|
"License :: OSI Approved :: BSD License",
|
2011-12-24 07:46:08 -05:00
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
],
|
|
|
|
)
|