mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
deploy-ng: Use sys.executable instead of 'python' in tests/build_samples.py
This commit is contained in:
parent
7eeb416765
commit
7073609480
@ -1,5 +1,6 @@
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
SAMPLES_TO_BUILD = [
|
||||
'asteroids',
|
||||
@ -13,7 +14,7 @@ def main():
|
||||
|
||||
# This will raise a CalledProcessError if the build fails, which will cause
|
||||
# this script to fail
|
||||
subprocess.check_call(['python', 'setup.py', 'bdist_apps'])
|
||||
subprocess.check_call([sys.executable, 'setup.py', 'bdist_apps'])
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user