Add setup.py
[litex.git] / setup.py
1 #!/usr/bin/env python3
2
3 import sys, os
4 from setuptools import setup
5 from setuptools import find_packages
6
7 here = os.path.abspath(os.path.dirname(__file__))
8 README = open(os.path.join(here, "README")).read()
9
10 required_version = (3, 1)
11 if sys.version_info < required_version:
12 raise SystemExit("Mibuild requires python {0} or greater".format(
13 ".".join(map(str, required_version))))
14
15 setup(
16 name="mibuild",
17 version="unknown",
18 description="Build system and board definitions for Migen FPGA designs",
19 long_description=README,
20 author="Sebastien Bourdeauducq",
21 author_email="sebastien@milkymist.org",
22 url="http://www.milkymist.org",
23 download_url="https://github.com/milkymist/mibuild",
24 packages=find_packages(here),
25 license="GPL",
26 platforms=["Any"],
27 keywords="HDL ASIC FPGA hardware design",
28 classifiers=[
29 "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
30 "Environment :: Console",
31 "Development Status :: Alpha",
32 "Intended Audience :: Developers",
33 "License :: OSI Approved :: GNU General Public License (GPL)",
34 "Operating System :: OS Independent",
35 "Programming Language :: Python",
36 ],
37 )