aboutsummaryrefslogtreecommitdiff
path: root/build_exe.py
diff options
context:
space:
mode:
authorFilippo Valsorda - Campagna <filosottile.wiki@gmail.com>2012-04-07 20:07:42 +0200
committerFilippo Valsorda - Campagna <filosottile.wiki@gmail.com>2012-04-07 20:07:42 +0200
commitc6306eb7984a928368cc17de0b3f3c2d4ee0b9c3 (patch)
tree117a36bab1bf7fdda46f2b5ee89288b8966871df /build_exe.py
parentbcfde70d7382463cf1cab61165641c1f16b8c6d8 (diff)
wine-py2exe.sh to create the exe under linux (!!)
Diffstat (limited to 'build_exe.py')
-rw-r--r--build_exe.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_exe.py b/build_exe.py
index 338c10f66..9fa8186cb 100644
--- a/build_exe.py
+++ b/build_exe.py
@@ -2,11 +2,13 @@ from distutils.core import setup
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")
-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 = {