changeset 2402 | 82cef38fea56 |
parent 2325 | c4ea7f927dab |
child 2497 | 976b6b2a1613 |
--- a/mercurial/packagescan.py +++ b/mercurial/packagescan.py @@ -65,7 +65,7 @@ def scan(libpath,packagename): # Use the package in the build directory libpath = os.path.abspath(libpath) sys.path.insert(0,libpath) - packdir = os.path.join(libpath,packagename) + packdir = os.path.join(libpath,packagename.replace('.', '/')) # A normal import would not find the package in # the build directory. ihook is used to force the import. # After the package is imported the import scope for