Skip to content

Instantly share code, notes, and snippets.

@habnabit
Created April 16, 2015 00:13
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 habnabit/d8e8f5c5c925d19c5ece to your computer and use it in GitHub Desktop.
Save habnabit/d8e8f5c5c925d19c5ece to your computer and use it in GitHub Desktop.
*.egg*
/.tox
#!/bin/sh
set -ex
rm -rf .tox
tox # once to create the virtualenv
tmp="${TMPDIR:-/tmp}/pip-*"
ls -lartd ${tmp} # see what's there already
tox # now run tox for real
ls -lartd ${tmp} # should see a new, empty directory listed
.tox/py27/bin/pip install -U git+https://github.com/habnabit/pip@fix-no-clean
tox # run tox with the fix
ls -lartd ${tmp} # should see a new, not-empty directory listed
installed = True
from setuptools import setup
setup(
name='pip-2689-test',
version='1.2.3',
py_modules=['pip_2689_test'],
)
[tox]
envlist = py27
[testenv]
install_command = pip install --no-clean {opts} {packages}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment