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