From 2b52139bc1fea1f2080cf1ad7db62fd09278b962 Mon Sep 17 00:00:00 2001 From: Ajay Patel Date: Mon, 5 Nov 2018 05:28:50 +0100 Subject: [PATCH] Install to user site packages as a backup with --user instead of --install-option --- setup.py | 5 +---- version.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 17fd337..42fa90a 100644 --- a/setup.py +++ b/setup.py @@ -138,10 +138,7 @@ def install_wheel(whl): if hasattr(site, 'getusersitepackages'): site_packages = site.getusersitepackages() print("Installing to user site packages...", site_packages) - rc = subprocess.Popen( - whl_args + ["--install-option=--install-lib=" + site_packages] + - [whl] - ).wait() + rc = subprocess.Popen(whl_args + ["--user"] + [whl]).wait() except ImportError: pass return rc diff --git a/version.py b/version.py index 8978801..6a58089 100644 --- a/version.py +++ b/version.py @@ -1,2 +1,2 @@ -__version_info__ = ('0', '1', '103') +__version_info__ = ('0', '1', '104') __version__ = '.'.join(__version_info__)