setuptools bdist_apps: Better support relative paths for --build-base option

This commit is contained in:
Mitchell Stokes 2019-01-04 18:54:57 -08:00
parent 7e562b0eb3
commit 863e25b6e0

View File

@ -1346,7 +1346,7 @@ class bdist_apps(setuptools.Command):
self.run_command('build_apps') self.run_command('build_apps')
platforms = build_cmd.platforms platforms = build_cmd.platforms
build_base = build_cmd.build_base build_base = os.path.abspath(build_cmd.build_base)
os.makedirs(self.dist_dir, exist_ok=True) os.makedirs(self.dist_dir, exist_ok=True)
os.chdir(self.dist_dir) os.chdir(self.dist_dir)