Commit 09e17ec6 authored by Lennart Regebro's avatar Lennart Regebro

Python 3.3b2's importlib doesn't like sys.paths that dissappear. By having a...

Python 3.3b2's importlib doesn't like sys.paths that dissappear. By having a relative path in sys.path and then doinga chdir() that's exactly what happens. This bug will be fixed in the next 3.3 release, but there is no drawback to adding the path as an absolute path, so we do that to make the tests run under 3.3b2.

--HG--
branch : distribute
extra : rebase_source : 51c5ac7f8916ca85fb2633b8cdbd7aa2e759e67e
parent 49b3d313
......@@ -31,7 +31,7 @@ if sys.version_info >= (3,):
util.run_2to3(outfiles_2to3)
# arrange setup to use the copy
sys.path.insert(0, tmp_src)
sys.path.insert(0, os.path.abspath(tmp_src))
src_root = tmp_src
from distutils.util import convert_path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment