2 # vim: noexpandtab:tabstop=8:softtabstop=8
3 """ Migen's distutils distribution and installation script. """
6 from setuptools
import setup
7 from setuptools
import find_packages
9 here
= os
.path
.abspath(os
.path
.dirname(__file__
))
10 README
= open(os
.path
.join(here
, "README")).read()
12 required_version
= (3, 1)
13 if sys
.version_info
< required_version
:
14 raise SystemExit("migen requires python {0} or greater".format(
15 ".".join(map(str, required_version
))))
20 description
="Python toolbox for building complex digital hardware",
21 long_description
=README
,
22 author
="Sebastien Bourdeauducq",
23 author_email
="sebastien@milkymist.org",
24 url
="http://www.milkymist.org",
25 download_url
="https://github.com/milkymist/migen",
26 packages
=find_packages(here
),
29 keywords
="HDL ASIC FPGA hardware design",
31 "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
32 "Environment :: Console",
33 "Development Status :: Alpha",
34 "Intended Audience :: Developers",
35 "License :: OSI Approved :: GNU General Public License (GPL)",
36 "Operating System :: OS Independent",
37 "Programming Language :: Python",