Permalink
Browse files

Merge pull request #3836 from morganfainberg/possible-pip-fix

Fix for "pip" detection so that setuptools is used
  • Loading branch information...
2 parents 305e92e + b9adf48 commit cb0a832bc69b4708665dd7b53ada0b9745c78bed @thatch45 thatch45 committed Feb 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup.py
View
@@ -23,7 +23,7 @@
# This ensures consistent behavior but allows for advanced usage with
# virtualenv, buildout, and others.
with_setuptools = False
-if 'USE_SETUPTOOLS' in os.environ:
+if 'USE_SETUPTOOLS' in os.environ or 'pip' in __file__:
try:
from setuptools import setup
from setuptools.command.install import install

0 comments on commit cb0a832

Please sign in to comment.