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