Skip to content

Commit

Permalink
Install to user site packages as a backup with --user instead of --in…
Browse files Browse the repository at this point in the history
…stall-option
  • Loading branch information
AjayP13 committed Nov 5, 2018
1 parent 68708fb commit 2b52139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ('0', '1', '103')
__version_info__ = ('0', '1', '104')
__version__ = '.'.join(__version_info__)

0 comments on commit 2b52139

Please sign in to comment.