mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
setuptools: os.makedirs does not support 'exist_ok' parameter in Python2
Closes #540
This commit is contained in:
parent
955081f81f
commit
1389ada384
3
direct/src/dist/commands.py
vendored
3
direct/src/dist/commands.py
vendored
@ -1347,7 +1347,8 @@ class bdist_apps(setuptools.Command):
|
||||
|
||||
platforms = build_cmd.platforms
|
||||
build_base = os.path.abspath(build_cmd.build_base)
|
||||
os.makedirs(self.dist_dir, exist_ok=True)
|
||||
if not os.path.exists(self.dist_dir):
|
||||
os.makedirs(self.dist_dir)
|
||||
os.chdir(self.dist_dir)
|
||||
|
||||
for platform in platforms:
|
||||
|
Loading…
x
Reference in New Issue
Block a user