Closed wkentaro closed 7 years ago
What happens if you install with pip install --user
?
In mac, the files are installed under $HOME/Library/Python
% pip uninstall legit
Uninstalling legit-0.2.0:
/Users/ken/Library/Python/2.7/bin/legit
/Users/ken/Library/Python/2.7/etc/bash_completion.d/legit
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit-0.2.0.dist-info/DESCRIPTION.rst
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit-0.2.0.dist-info/METADATA
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit-0.2.0.dist-info/RECORD
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit-0.2.0.dist-info/WHEEL
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit-0.2.0.dist-info/entry_points.txt
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit-0.2.0.dist-info/metadata.json
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit-0.2.0.dist-info/top_level.txt
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/__init__.py
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/__init__.pyc
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/bootstrap.py
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/bootstrap.pyc
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/cli.py
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/cli.pyc
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/core.py
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/core.pyc
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/helpers.py
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/helpers.pyc
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/scm.py
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/scm.pyc
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/settings.py
/Users/ken/Library/Python/2.7/lib/python/site-packages/legit/settings.pyc
/Users/ken/Library/Python/2.7/man/man1/legit.1
/Users/ken/Library/Python/2.7/share/zsh/site-functions/_legit
Proceed (y/n)?
On linux under $HOME/.local
:
% pip uninstall legit
Uninstalling legit-0.2.0:
/home/wkentaro/.local/bin/legit
/home/wkentaro/.local/etc/bash_completion.d/legit
/home/wkentaro/.local/lib/python2.7/site-packages/legit-0.2.0.dist-info/DESCRIPTION.rst
/home/wkentaro/.local/lib/python2.7/site-packages/legit-0.2.0.dist-info/METADATA
/home/wkentaro/.local/lib/python2.7/site-packages/legit-0.2.0.dist-info/RECORD
/home/wkentaro/.local/lib/python2.7/site-packages/legit-0.2.0.dist-info/WHEEL
/home/wkentaro/.local/lib/python2.7/site-packages/legit-0.2.0.dist-info/entry_points.txt
/home/wkentaro/.local/lib/python2.7/site-packages/legit-0.2.0.dist-info/metadata.json
/home/wkentaro/.local/lib/python2.7/site-packages/legit-0.2.0.dist-info/top_level.txt
/home/wkentaro/.local/lib/python2.7/site-packages/legit/__init__.py
/home/wkentaro/.local/lib/python2.7/site-packages/legit/__init__.pyc
/home/wkentaro/.local/lib/python2.7/site-packages/legit/bootstrap.py
/home/wkentaro/.local/lib/python2.7/site-packages/legit/bootstrap.pyc
/home/wkentaro/.local/lib/python2.7/site-packages/legit/cli.py
/home/wkentaro/.local/lib/python2.7/site-packages/legit/cli.pyc
/home/wkentaro/.local/lib/python2.7/site-packages/legit/core.py
/home/wkentaro/.local/lib/python2.7/site-packages/legit/core.pyc
/home/wkentaro/.local/lib/python2.7/site-packages/legit/helpers.py
/home/wkentaro/.local/lib/python2.7/site-packages/legit/helpers.pyc
/home/wkentaro/.local/lib/python2.7/site-packages/legit/scm.py
/home/wkentaro/.local/lib/python2.7/site-packages/legit/scm.pyc
/home/wkentaro/.local/lib/python2.7/site-packages/legit/settings.py
/home/wkentaro/.local/lib/python2.7/site-packages/legit/settings.pyc
/home/wkentaro/.local/man/man1/legit.1
/home/wkentaro/.local/share/zsh/site-functions/_legit
This can be controversial because the location can be not standard one depending on sys.prefix. If using Homebrew's python on MacOSX, it does work (installed under
/usr/local
) but does not if using system python (installed under/System/Library/Frameworks/Python.framework/Versios/2.7
) In Linux, it is installed under/usr/local
, so it should work.