Show More
@@ -65,7 +65,7 b' def scan(libpath,packagename):' | |||||
65 | # Use the package in the build directory |
|
65 | # Use the package in the build directory | |
66 | libpath = os.path.abspath(libpath) |
|
66 | libpath = os.path.abspath(libpath) | |
67 | sys.path.insert(0,libpath) |
|
67 | sys.path.insert(0,libpath) | |
68 | packdir = os.path.join(libpath,packagename) |
|
68 | packdir = os.path.join(libpath,packagename.replace('.', '/')) | |
69 | # A normal import would not find the package in |
|
69 | # A normal import would not find the package in | |
70 | # the build directory. ihook is used to force the import. |
|
70 | # the build directory. ihook is used to force the import. | |
71 | # After the package is imported the import scope for |
|
71 | # After the package is imported the import scope for |
@@ -56,7 +56,7 b' try:' | |||||
56 | else: |
|
56 | else: | |
57 | self.includes = self.includes.split(',') |
|
57 | self.includes = self.includes.split(',') | |
58 | mercurial.packagescan.scan(self.build_lib,'mercurial') |
|
58 | mercurial.packagescan.scan(self.build_lib,'mercurial') | |
59 |
mercurial.packagescan.scan(self.build_lib,'mercurial |
|
59 | mercurial.packagescan.scan(self.build_lib,'mercurial.hgweb') | |
60 | mercurial.packagescan.scan(self.build_lib,'hgext') |
|
60 | mercurial.packagescan.scan(self.build_lib,'hgext') | |
61 | self.includes += mercurial.packagescan.getmodules() |
|
61 | self.includes += mercurial.packagescan.getmodules() | |
62 | build_exe.finalize_options(self) |
|
62 | build_exe.finalize_options(self) |
General Comments 0
You need to be logged in to leave comments.
Login now