From: whitequark Date: Wed, 1 Jul 2020 08:16:28 +0000 (+0000) Subject: Revert "Add PEP 518 `pyproject.toml`." X-Git-Tag: 24jan2021_ls180~56 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=416b2531aed20ce7e661f2a211c2fb76311fe83b;p=nmigen.git 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... --- 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