projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changing test video
[youtube-dl]
/
build_exe.py
diff --git
a/build_exe.py
b/build_exe.py
index 338c10f66e6f73fde1f2dcec6cdc1710c8cd2caf..9fa8186cbfb203d9ad2c29f7a4de13b7b33a39a1 100644
(file)
--- a/
build_exe.py
+++ b/
build_exe.py
@@
-2,11
+2,13
@@
from distutils.core import setup
import py2exe
import sys, os
import py2exe
import sys, os
+"""This will create an exe that needs Microsoft Visual C++ 2008 Redistributable Package"""
+
# If run without args, build executables
if len(sys.argv) == 1:
sys.argv.append("py2exe")
# If run without args, build executables
if len(sys.argv) == 1:
sys.argv.append("py2exe")
-os.chdir(os.path.dirname(sys.argv[0]))
+# os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) # conflict with wine-py2exe.sh
sys.path.append('./youtube_dl')
options = {
sys.path.append('./youtube_dl')
options = {