Skip to content

Instantly share code, notes, and snippets.

@qwcode
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qwcode/b15faeea2f2a2617294f to your computer and use it in GitHub Desktop.
Save qwcode/b15faeea2f2a2617294f to your computer and use it in GitHub Desktop.
pip --no-clean --build (in a virtual environment v1.5.6)
(VE)qwcode@qwcode:/tmp$ pip install peppercorn
Downloading/unpacking peppercorn
Downloading peppercorn-0.4.tar.gz
Running setup.py (path:/tmp/VE/build/peppercorn/setup.py) egg_info for package peppercorn
Installing collected packages: peppercorn
Running setup.py install for peppercorn
Successfully installed peppercorn
Cleaning up...
(VE)qwcode@qwcode:/tmp$ ls VE/build
ls: cannot access VE/build: No such file or directory
(VE)qwcode@qwcode:/tmp$ pip uninstall peppercorn
Uninstalling peppercorn:
/tmp/VE/lib/python2.7/site-packages/peppercorn-0.4-py2.7.egg-info
/tmp/VE/lib/python2.7/site-packages/peppercorn/__init__.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/__init__.pyc
/tmp/VE/lib/python2.7/site-packages/peppercorn/compat.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/compat.pyc
/tmp/VE/lib/python2.7/site-packages/peppercorn/tests.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/tests.pyc
Proceed (y/n)? y
Successfully uninstalled peppercorn
(VE)qwcode@qwcode:/tmp$ pip 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/VE/build/peppercorn/setup.py) egg_info for package peppercorn
Installing collected packages: peppercorn
Running setup.py install for peppercorn
Successfully installed peppercorn
(VE)qwcode@qwcode:/tmp$ ls VE/build
peppercorn pip-delete-this-directory.txt
(VE)qwcode@qwcode:/tmp$ pip uninstall peppercorn
Uninstalling peppercorn:
/tmp/VE/lib/python2.7/site-packages/peppercorn-0.4-py2.7.egg-info
/tmp/VE/lib/python2.7/site-packages/peppercorn/__init__.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/__init__.pyc
/tmp/VE/lib/python2.7/site-packages/peppercorn/compat.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/compat.pyc
/tmp/VE/lib/python2.7/site-packages/peppercorn/tests.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/tests.pyc
Proceed (y/n)? y
Successfully uninstalled peppercorn
(VE)qwcode@qwcode:/tmp$ rm -rf VE/build
(VE)qwcode@qwcode:/tmp$ pip uninstall peppercorn
Uninstalling peppercorn:
/tmp/VE/lib/python2.7/site-packages/peppercorn-0.4-py2.7.egg-info
/tmp/VE/lib/python2.7/site-packages/peppercorn/__init__.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/__init__.pyc
/tmp/VE/lib/python2.7/site-packages/peppercorn/compat.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/compat.pyc
/tmp/VE/lib/python2.7/site-packages/peppercorn/tests.py
/tmp/VE/lib/python2.7/site-packages/peppercorn/tests.pyc
Proceed (y/n)? y
Successfully uninstalled peppercorn
(VE)qwcode@qwcode:/tmp$ pip 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
(VE)qwcode@qwcode:/tmp$ ls VE/build
ls: cannot access VE/build: No such file or directory
(VE)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