mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
dist: Fix error using build_apps in Python 2.7
This commit is contained in:
parent
030bdd1d34
commit
84a6e900af
3
direct/src/dist/commands.py
vendored
3
direct/src/dist/commands.py
vendored
@ -459,7 +459,8 @@ class build_apps(setuptools.Command):
|
|||||||
abi_tag += 'u'
|
abi_tag += 'u'
|
||||||
|
|
||||||
whldir = os.path.join(whlcache, '_'.join((platform, abi_tag)))
|
whldir = os.path.join(whlcache, '_'.join((platform, abi_tag)))
|
||||||
os.makedirs(whldir, exist_ok=True)
|
if not os.path.isdir(whldir):
|
||||||
|
os.makedirs(whldir)
|
||||||
|
|
||||||
# Remove any .zip files. These are built from a VCS and block for an
|
# Remove any .zip files. These are built from a VCS and block for an
|
||||||
# interactive prompt on subsequent downloads.
|
# interactive prompt on subsequent downloads.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user