diff --git a/podfox/__init__.py b/podfox/__init__.py index 4a36171..8550269 100755 --- a/podfox/__init__.py +++ b/podfox/__init__.py @@ -277,7 +277,7 @@ def pretty_print_episodes(feed): print(format_str.format(e['title'][:40], status)) -if __name__ == '__main__': +def main(): colorama.init() arguments = docopt(__doc__, version='p0d 0.01') # before we do anything with the commands, diff --git a/setup.py b/setup.py index 97eae96..c5f1d5a 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ with open('requirements.txt') as f: required = f.read().splitlines() setup(name='podfox', - version='0.1', + version='0.1.1', description='Podcatcher for the terminal', url='http://github.com/brtmr/podfox', author='Bastian Reitemeier', @@ -17,5 +17,10 @@ setup(name='podfox', 'podfox = podfox.__init__:main' ] }, - install_requires=required, + install_requires=[ + 'colorama==0.3.7', + 'docopt==0.6.2', + 'feedparser==5.2.1', + 'requests==2.11.1', + ], )