Add PEP 518 `pyproject.toml`.
authorwhitequark <whitequark@whitequark.org>
Wed, 1 Jul 2020 05:58:05 +0000 (05:58 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 1 Jul 2020 05:58:34 +0000 (05:58 +0000)
This is necessary to be able to install nMigen into a virtualenv that
does not have `wheel` installed in certain cases.

See #349.

pyproject.toml [new file with mode: 0644]
setup.py

diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644 (file)
index 0000000..87688fd
--- /dev/null
@@ -0,0 +1,2 @@
+[build-system]
+requires = ["setuptools", "setuptools_scm", "wheel"]
index 3dafc3eef232536b9be1f32ece8d32bf8aa89d1f..5675a9f866d79ceae653ca5f67bc6fe63c9ac743 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -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