Skip to content

Commit

Permalink
Add PEP 518 pyproject.toml.
Browse files Browse the repository at this point in the history
This is necessary to be able to install nMigen into a virtualenv that
does not have `wheel` installed in certain cases.

See #349.
  • Loading branch information
whitequark committed Jul 1, 2020
1 parent adbc947 commit 7fca037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "setuptools_scm", "wheel"]
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def local_scheme(version):
#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
Expand Down

0 comments on commit 7fca037

Please sign in to comment.