From 416b2531aed20ce7e661f2a211c2fb76311fe83b Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 1 Jul 2020 08:16:28 +0000 Subject: [PATCH] Revert "Add PEP 518 `pyproject.toml`." 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 | 2 -- setup.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 87688fd..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,2 +0,0 @@ -[build-system] -requires = ["setuptools", "setuptools_scm", "wheel"] diff --git a/setup.py b/setup.py index 5675a9f..3dafc3e 100644 --- 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 -- 2.30.2