amaranth/setup.py
Alain Péteut 342bdbe75a setup.py: constrain Python version
Installation should be constraint to supported Python versions, using `python_requires`,
refer to [1] for details.

[1] https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
2019-02-22 08:45:28 +00:00

26 lines
709 B
Python

import sys
from setuptools import setup, find_packages
if sys.version_info[:3] < (3, 6):
raise SystemExit("nMigen requires Python 3.6+")
setup(
name="nmigen",
version="0.1",
author="whitequark",
author_email="whitequark@whitequark.org",
description="Python toolbox for building complex digital hardware",
#long_description="""TODO""",
license="BSD",
install_requires=["pyvcd>=0.1.4", "bitarray"],
packages=find_packages(),
python_requires=">=3.6",
project_urls={
#"Documentation": "https://glasgow.readthedocs.io/",
"Source Code": "https://github.com/m-labs/nmigen",
"Bug Tracker": "https://github.com/m-labs/nmigen/issues",
}
)