2012-01-31 15:46:08 -05:00
|
|
|
#!/usr/bin/env python3
|
2011-12-24 07:46:08 -05:00
|
|
|
|
2015-04-13 14:54:19 -04:00
|
|
|
import sys
|
|
|
|
import 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:
|
2015-04-13 14:07:07 -04:00
|
|
|
raise SystemExit("Migen requires python {0} or greater".format(
|
|
|
|
".".join(map(str, required_version))))
|
2011-12-24 07:46:08 -05:00
|
|
|
|
|
|
|
setup(
|
2015-04-13 14:07:07 -04:00
|
|
|
name="migen",
|
2015-09-20 04:10:40 -04:00
|
|
|
version="1.0",
|
2015-04-13 14:07:07 -04:00
|
|
|
description="Python toolbox for building complex digital hardware",
|
|
|
|
long_description=README,
|
|
|
|
author="Sebastien Bourdeauducq",
|
|
|
|
author_email="sb@m-labs.hk",
|
|
|
|
url="http://m-labs.hk",
|
|
|
|
download_url="https://github.com/m-labs/migen",
|
|
|
|
packages=find_packages(here),
|
|
|
|
test_suite="migen.test",
|
|
|
|
license="BSD",
|
|
|
|
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 :: BSD License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
],
|
2011-12-24 07:46:08 -05:00
|
|
|
)
|