commit | 48eb9cd62fefcf8cc93416512f15c913f55331bd | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jan 19 21:54:59 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jan 19 21:54:59 2001 +0000 |
tree | 6ac6fae7b7d2070b06ebb1d67bd81c4491502b39 | |
parent | 2cfa9806c7b4e21e44f00593ccbaeded703382de [diff] |
A hack to augment sys.path with the build/lib.<platform> directory created by Andrew's setup.py script, *if* we're actually running from the build directory. (The test for that: whether the sys.path[-1] ends in "/Modules".) This has one disadvantage: it imports a fair amount of code from the distutils package, just in order to be able to calculate the correct pathname. See if I care. :-)