浏览代码

Remove includes from setup.py for windows build

Philipp Hagemeister 12 年之前
父节点
当前提交
bc857bfce0
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      setup.py

+ 0 - 3
setup.py

@@ -3,7 +3,6 @@
 
 
 from __future__ import print_function
 from __future__ import print_function
 
 
-from glob import glob
 import pkg_resources
 import pkg_resources
 import sys
 import sys
 
 
@@ -26,8 +25,6 @@ py2exe_options = {
     "optimize": 2,
     "optimize": 2,
     "dist_dir": '.',
     "dist_dir": '.',
     "dll_excludes": ['w9xpopen.exe'],
     "dll_excludes": ['w9xpopen.exe'],
-    "includes": [m.replace('\\', '.').replace('/', '.')[:-3]
-                 for m in glob('youtube_dl/*/*.py')]
 }
 }
 py2exe_console = [{
 py2exe_console = [{
     "script": "./youtube_dl/__main__.py",
     "script": "./youtube_dl/__main__.py",