From 03357b6b53cb10ba021358a09b25715d05ddfb0d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 31 Dec 2021 14:16:18 +0000 Subject: [PATCH] manually add import_metadata, import_resources --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ], -- 2.30.2