From 3f72cd30b1e065a863c8c00f0e3b6e9d2eaf06e0 Mon Sep 17 00:00:00 2001 From: Andrew Dennison Date: Wed, 23 Mar 2022 11:11:24 +1100 Subject: [PATCH] litex_setup: change to installing with pip fixes: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. --- litex_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex_setup.py b/litex_setup.py index d857b721f..71ad35a76 100755 --- a/litex_setup.py +++ b/litex_setup.py @@ -223,7 +223,7 @@ def litex_setup_install_repos(config="standard", user_mode=False): if repo.develop: print_status(f"Installing {name} Git repository...") os.chdir(os.path.join(current_path, name)) - subprocess.check_call("{python3} setup.py develop {options}".format( + subprocess.check_call("{python3} -m pip install --editable . {options}".format( python3 = sys.executable, options = "--user" if user_mode else "", ), shell=True)