Skip to content

Commit 7fca037

Browse files
committed
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.
1 parent adbc947 commit 7fca037

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools_scm", "wheel"]

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def local_scheme(version):
2323
#long_description="""TODO""",
2424
license="BSD",
2525
python_requires="~=3.6",
26-
setup_requires=["setuptools", "setuptools_scm"],
2726
install_requires=[
2827
"importlib_metadata; python_version<'3.8'", # for __version__ and nmigen._yosys
2928
"importlib_resources; python_version<'3.9'", # for nmigen._yosys

0 commit comments

Comments
 (0)