From a938111eb3b1ffc51874cef672e8051efdafa3c0 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 27 Apr 2022 16:21:46 -0700 Subject: [PATCH] switch cached-property dependency to using libre-soc's git repo --- setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fa48c40b..f8f65cc1 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,13 @@ install_requires = [ 'libresoc-ieee754fpu', # uploaded (successfully, whew) to pip 'libresoc-openpower-isa', # uploaded (successfully, whew) to pip # 'nmigen-soc', # install manually from git.libre-soc.org - "cached-property", + # git url needed for having `pip3 install -e .` install from libre-soc's git repo + "cached-property@git+https://git.libre-soc.org/git/cached-property.git@1.5.2#egg=cached-property-1.5.2", +] + +# git url needed for having `setup.py develop` install from libre-soc's git repo +dependency_links = [ + "git+https://git.libre-soc.org/git/cached-property.git@1.5.2#egg=cached-property-1.5.2", ] test_requires = [ @@ -49,6 +55,7 @@ setup( include_package_data=True, zip_safe=False, install_requires=install_requires, + dependency_links=dependency_links, tests_require=test_requires, test_suite='nose.collector', ) -- 2.30.2