Add PEP 518 pyproject.toml.

This is necessary to be able to install nMigen into a virtualenv that
does not have `wheel` installed in certain cases.

See #349.
This commit is contained in:
whitequark 2020-07-01 05:58:05 +00:00
parent adbc947274
commit 7fca037f9c
2 changed files with 2 additions and 1 deletions

2
pyproject.toml Normal file
View file

@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "setuptools_scm", "wheel"]

View file

@ -23,7 +23,6 @@ setup(
#long_description="""TODO""",
license="BSD",
python_requires="~=3.6",
setup_requires=["setuptools", "setuptools_scm"],
install_requires=[
"importlib_metadata; python_version<'3.8'", # for __version__ and nmigen._yosys
"importlib_resources; python_version<'3.9'", # for nmigen._yosys