diff options
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/site.py b/Lib/site.py index 56af90e..fc68317 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -96,6 +96,8 @@ def addbuilddir(): (especially for Guido :-)""" from distutils.util import get_platform s = "build/lib.%s-%.3s" % (get_platform(), sys.version) + if hasattr(sys, 'gettotalrefcount'): + s += '-pydebug' s = os.path.join(os.path.dirname(sys.path[-1]), s) sys.path.append(s) |