From a9a865332035e02540729ac9817558aae9265784 Mon Sep 17 00:00:00 2001 From: auphelia Date: Wed, 14 Aug 2024 16:58:31 +0100 Subject: [PATCH] Clean up packaging files --- pyproject.toml | 2 +- setup.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8f218ea..e0fc065 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel", "pynq==3.0.1", "ipython"] +requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel", "pynq>=2.5.1", "ipython"] [tool.setuptools_scm] write_to = "finn_examples/_version.py" diff --git a/setup.py b/setup.py index 1e55402..268204b 100644 --- a/setup.py +++ b/setup.py @@ -116,16 +116,16 @@ def extend_package(path): python_requires=">=3.5.2", # keeping 'setup_requires' only for readability - relying on # pyproject.toml and PEP 517/518 - setup_requires=["pynq==3.0.1", "setuptools_scm"], + setup_requires=["pynq>=2.5.1", "setuptools_scm"], install_requires=[ - "pynq==3.0.1", + "pynq>=2.5.1", "bitstring>=3.1.7", "numpy==1.21.5", "finn-dataset_loading==0.0.5", # noqa ], extras_require={ ':python_version<"3.6"': ["matplotlib<3.1", "ipython==7.9"], - ':python_version>="3.6"': ["matplotlib", "ipython==8.9.0"], + ':python_version>="3.6"': ["matplotlib"], }, entry_points={"pynq.notebooks": ["finn_examples = {}.notebooks".format(module_name)]}, cmdclass={"build_py": build_py, "unzip_overlays": _unzip_overlays},