]> git.bitcoin.ninja Git - youtube-dl/commitdiff
removed __main__.py from the root of the repo
authorFilippo Valsorda <filippo.valsorda@gmail.com>
Thu, 29 Nov 2012 14:20:20 +0000 (15:20 +0100)
committerFilippo Valsorda <filippo.valsorda@gmail.com>
Thu, 29 Nov 2012 14:20:20 +0000 (15:20 +0100)
Makefile
__main__.py [deleted file]

index c4937a51221649ce667dc738aa49217e1729f157..2eb226fdbde1e4046bf980a5c2bc1945d60ea899 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,8 @@ test:
 # TODO un-phony README.md and youtube-dl.bash_completion by reading from .in files and generating from them
 
 youtube-dl: youtube_dl/*.py
-       zip --quiet youtube-dl __main__.py youtube_dl/*.py
+       zip --quiet youtube-dl youtube_dl/*.py
+       zip --quiet --junk-paths youtube-dl youtube_dl/__main__.py
        echo '#!/usr/bin/env python' > youtube-dl
        cat youtube-dl.zip >> youtube-dl
        rm youtube-dl.zip
diff --git a/__main__.py b/__main__.py
deleted file mode 100755 (executable)
index fc3cc8a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env python
-
-import youtube_dl
-
-if __name__ == '__main__':
-    youtube_dl.main()