diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-11-28 03:55:35 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-11-28 03:55:35 +0100 |
commit | f1cb5bcad2bf2983b584730164238adcd8fa7e94 (patch) | |
tree | c8ed68b2d920eac5ffc75653e689bae81d175c6a /Makefile | |
parent | 9e8056d5a7b6b366874088cd30d23ba4a52d3861 (diff) |
Make __main__ work in all scenarios with relative imports
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ 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 --junk-paths youtube-dl youtube_dl/*.py + zip --quiet youtube-dl __main__.py youtube_dl/*.py echo '#!/usr/bin/env python' > youtube-dl cat youtube-dl.zip >> youtube-dl rm youtube-dl.zip |