Revert "Add PEP 518 `pyproject.toml`."
authorwhitequark <whitequark@whitequark.org>
Wed, 1 Jul 2020 08:16:28 +0000 (08:16 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 1 Jul 2020 08:24:47 +0000 (08:24 +0000)
This reverts commit 7fca037f9c14974f499195171bb84c38ebddc1e1.

This broke editable installs and has to be reverted due to a number
of pip issues:
  * pypa/pip#6375
  * pypa/pip#6434
  * pypa/pip#6438

We can put this back once PEP 517/518 support editable installs.
Until then the legacy behavior will suffice, and we should just teach
people to install the dependencies in virtualenvs or something...

pyproject.toml [deleted file]
setup.py

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