setup.py: fix README filename
[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.md")).read()
9
10 required_version = (3, 3)
11 if sys.version_info < required_version:
12 raise SystemExit("Migen requires python {0} or greater".format(
13 ".".join(map(str, required_version))))
14
15 setup(
16 name="migen",
17 version="unknown",
18 description="Python toolbox for building complex digital hardware",
19 long_description=README,
20 author="Sebastien Bourdeauducq",
21 author_email="sb@m-labs.hk",
22 url="http://m-labs.hk",
23 download_url="https://github.com/m-labs/migen",
24 packages=find_packages(here),
25 test_suite="migen.test",
26 license="BSD",
27 platforms=["Any"],
28 keywords="HDL ASIC FPGA hardware design",
29 classifiers=[
30 "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
31 "Environment :: Console",
32 "Development Status :: Alpha",
33 "Intended Audience :: Developers",
34 "License :: OSI Approved :: BSD License",
35 "Operating System :: OS Independent",
36 "Programming Language :: Python",
37 ],
38 )