Skip to content

Commit

Permalink
moving to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gcmalloc committed Nov 28, 2012
1 parent c64de2c commit 4efe62a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build_exe.py → setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from distutils.core import setup
import py2exe
import sys, os
import sys
try:
import py2exe
except ImportError:
sys.stderr.write("Cannot import py2exe")
import os

"""This will create an exe that needs Microsoft Visual C++ 2008 Redistributable Package"""

Expand Down Expand Up @@ -37,7 +41,7 @@
description='Small command-line program to download videos from YouTube.com and other video sites',
url='https://github.com/rg3/youtube-dl',
packages=['youtube_dl'],

console = console,
options = {"py2exe": options},
zipfile = None,
Expand Down

0 comments on commit 4efe62a

Please sign in to comment.