From: Luke Kenneth Casson Leighton Date: Fri, 31 Dec 2021 14:16:18 +0000 (+0000) Subject: manually add import_metadata, import_resources X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03357b6b53cb10ba021358a09b25715d05ddfb0d;p=nmigen.git manually add import_metadata, import_resources --- diff --git a/setup.py b/setup.py index ee53017..b822e77 100644 --- a/setup.py +++ b/setup.py @@ -23,9 +23,10 @@ setup( #long_description="""TODO""", license="BSD", python_requires="~=3.6", - setup_requires=["setuptools_scm"], + setup_requires=["setuptools", "setuptools_scm"], install_requires=[ - "setuptools", + "importlib_metadata; python_version<'3.8'", # for __version__ and nmigen._yosys + "importlib_resources; python_version<'3.9'", # for nmigen._yosys "pyvcd~=0.2.0", # for nmigen.pysim "Jinja2~=2.11", # for nmigen.build ],