We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b9e839 commit c381befCopy full SHA for c381bef
tests/integration/packaging-trusty.sh
@@ -30,7 +30,7 @@ set -o xtrace
30
# virtualenv detection logic copied from pip:
31
# - https://github.com/pypa/pip/blob/ccd75d4daf7753b6587cffbb1ba52e7dfa5e9915/pip/locations.py#L41-L51
32
USER_OPTS=""
33
-if python -c 'import sys; sys.exit(hasattr(sys, "real_prefix"))' ||
+if python -c 'import sys; sys.exit(hasattr(sys, "real_prefix"))' &&
34
python -c 'import sys; sys.exit(sys.prefix != getattr(sys, "base_prefix", sys.prefix))'
35
then
36
USER_OPTS="--user"
0 commit comments