Skip to content

Instantly share code, notes, and snippets.

@qwcode
Last active August 29, 2015 14:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save qwcode/a83953a8b714327fb2cc to your computer and use it in GitHub Desktop.
pip --no-clean --build (global python) v1.5.6
qwcode@qwcode:/tmp$ sudo pip2.7 install peppercorn
Downloading/unpacking peppercorn
Downloading peppercorn-0.4.tar.gz
Running setup.py (path:/tmp/pip_build_root/peppercorn/setup.py) egg_info for package peppercorn
Installing collected packages: peppercorn
Running setup.py install for peppercorn
Successfully installed peppercorn
Cleaning up...
qwcode@qwcode:/tmp$ ls /tmp/pip_build_root
ls: cannot access /tmp/pip_build_root: No such file or directory
qwcode@qwcode:/tmp$ sudo pip2.7 uninstall peppercorn
Uninstalling peppercorn:
/usr/local/lib/python2.7/dist-packages/peppercorn-0.4.egg-info
/usr/local/lib/python2.7/dist-packages/peppercorn/__init__.py
/usr/local/lib/python2.7/dist-packages/peppercorn/__init__.pyc
/usr/local/lib/python2.7/dist-packages/peppercorn/compat.py
/usr/local/lib/python2.7/dist-packages/peppercorn/compat.pyc
/usr/local/lib/python2.7/dist-packages/peppercorn/tests.py
/usr/local/lib/python2.7/dist-packages/peppercorn/tests.pyc
Proceed (y/n)? y
Successfully uninstalled peppercorn
qwcode@qwcode:/tmp$ sudo pip2.7 install --no-clean peppercorn
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906.
Downloading/unpacking peppercorn
Downloading peppercorn-0.4.tar.gz
Running setup.py (path:/tmp/pip_build_root/peppercorn/setup.py) egg_info for package peppercorn
Installing collected packages: peppercorn
Running setup.py install for peppercorn
Successfully installed peppercorn
qwcode@qwcode:/tmp$ ls /tmp/pip_build_root
peppercorn pip-delete-this-directory.txt
qwcode@qwcode:/tmp$ sudo pip2.7 uninstall peppercorn
Uninstalling peppercorn:
/usr/local/lib/python2.7/dist-packages/peppercorn-0.4.egg-info
/usr/local/lib/python2.7/dist-packages/peppercorn/__init__.py
/usr/local/lib/python2.7/dist-packages/peppercorn/__init__.pyc
/usr/local/lib/python2.7/dist-packages/peppercorn/compat.py
/usr/local/lib/python2.7/dist-packages/peppercorn/compat.pyc
/usr/local/lib/python2.7/dist-packages/peppercorn/tests.py
/usr/local/lib/python2.7/dist-packages/peppercorn/tests.pyc
Proceed (y/n)? y
Successfully uninstalled peppercorn
qwcode@qwcode:/tmp$ sudo rm -rf /tmp/pip_build_root
qwcode@qwcode:/tmp$ sudo pip2.7 install --no-clean --build=/tmp/build peppercorn
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906.
Downloading/unpacking peppercorn
Downloading peppercorn-0.4.tar.gz
Running setup.py (path:/tmp/build/peppercorn/setup.py) egg_info for package peppercorn
Installing collected packages: peppercorn
Running setup.py install for peppercorn
Successfully installed peppercorn
qwcode@qwcode:/tmp$ ls /tmp/pip_build_root
pip-delete-this-directory.txt
qwcode@qwcode:/tmp$ ls /tmp/build/
peppercorn pip-delete-this-directory.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment