import os
from setuptools import setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(name='deepstreampy',
      version='0.1.1',
      author='Yavor Paunov',
      author_email='contact@yavorpaunov.com',
      description='A deepstream.io client.',
      license='MIT',
      url='https://www.github.com/YavorPaunov/deepstreampy',
      packages=['deepstreampy', 'tests', 'features'],
      long_description=read('README.md'),
      test_suite='tests')

@@ -31,17 +31,182 @@
 rt setup
-%0A
+, find_packages%0A%0Adef requirements(filename='requirements.txt'):%0A    with open(filename) as f:%0A        requirements = f.read().splitlines()%0A        return requirements
 %0A%0Adef re
@@ -559,45 +559,62 @@
 ges=
-%5B'deepstreampy', 'tests', 'features'%5D
+find_packages(),%0A      install_requires=requirements()
 ,%0A  

Fix issue #1