From 3f8e0375ff06e5e8df31bae70e60f42f1e70b073 Mon Sep 17 00:00:00 2001
From: Bastian Reitemeier <mail@brtmr.de>
Date: Mon, 26 Sep 2016 23:49:26 +0200
Subject: [PATCH] fixed pip installability via pypi

---
 podfox/__init__.py | 2 +-
 setup.py           | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

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',
+        ],
     )