diff --git a/vsrepo.py b/vsrepo.py index df1dd41..98150ae 100644 --- a/vsrepo.py +++ b/vsrepo.py @@ -172,7 +172,7 @@ def get_vs_installation_site() -> str: print('Package argument required for install, upgrade and uninstall operations') sys.exit(1) -package_json_path = os.path.join(file_dirname, 'vspackages3.json') if args.portable else os.path.join(*pluginparent, 'vsrepo', 'vspackages3.json') +package_json_path = os.path.join(file_dirname, 'vspackages3.json') if args.portable or is_sitepackage_install_portable() else os.path.join(*pluginparent, 'vsrepo', 'vspackages3.json') if is_sitepackage_install(): if is_venv():