40 lines
1.2 KiB
Python
Executable File
40 lines
1.2 KiB
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
import os
|
|
from setuptools import setup
|
|
from setuptools import find_packages
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
README = open(os.path.join(here, "README.md")).read()
|
|
|
|
required_version = (3, 3)
|
|
if sys.version_info < required_version:
|
|
raise SystemExit("Migen requires python {0} or greater".format(
|
|
".".join(map(str, required_version))))
|
|
|
|
setup(
|
|
name="migen",
|
|
version="unknown",
|
|
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",
|
|
],
|
|
)
|