deploy-ng: Make sure the runtime is created in the build directory

We used to build in the current directory and copy to the build
directory, which resulted in two copies of the runtime.
This commit is contained in:
Mitchell Stokes 2016-12-30 11:56:29 -08:00
parent c839dc60d6
commit 6251a1cfc7

View File

@ -44,7 +44,7 @@ class build(distutils.command.build.build):
for exmod in self.distribution.exclude_modules:
freezer.excludeModule(exmod)
freezer.done(addStartupModules=True)
freezer.generateRuntimeFromStub(app.runtimename)
freezer.generateRuntimeFromStub(os.path.join(builddir, app.runtimename))
# Copy extension modules
for module, source_path in freezer.extras: