aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__main__.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-03-25 03:07:37 +0200
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-03-25 03:07:37 +0200
commitd77c3dfd027e9af4d44fc7109fac0012451268c2 (patch)
tree462ed90f77bfd75cc380e24273e8d627a6af34af /youtube_dl/__main__.py
parentc23d8a74dcf54df1cd4df95323897c0d5070d8a9 (diff)
Split code as a package, compiled into an executable zip
Diffstat (limited to 'youtube_dl/__main__.py')
-rwxr-xr-xyoutube_dl/__main__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube_dl/__main__.py b/youtube_dl/__main__.py
new file mode 100755
index 000000000..6f20402e2
--- /dev/null
+++ b/youtube_dl/__main__.py
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+import __init__
+
+if __name__ == '__main__':
+ __init__.main()