#!/usr/bin/env python
import os
from setuptools import setup

ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)

test_requirements = []
setup(
    name="docker-py",
    version='0.2.0',
    description="Python client for Docker.",
    packages=['docker'],
    install_requires=['requests', 'six'] + test_requirements,
    zip_safe=False,
    test_suite='tests',
    classifiers=['Development Status :: 4 - Beta',
                 'Environment :: Other Environment',
                 'Intended Audience :: Developers',
                 'Operating System :: OS Independent',
                 'Programming Language :: Python',
                 'Topic :: Utilities',
                 'License :: OSI Approved :: Apache Software License'
],
    )

#!/usr/bin/env python
import os
from setuptools import setup

ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)

test_requirements = []
with requirements_txt = open('./requirements.txt'):
    requirements = [line for line in requirements_txt]

setup(
    name="docker-py",
    version='0.2.0',
    description="Python client for Docker.",
    packages=['docker'],
    install_requires=requirements + test_requirements,
    zip_safe=False,
    test_suite='tests',
    classifiers=['Development Status :: 4 - Beta',
                 'Environment :: Other Environment',
                 'Intended Audience :: Developers',
                 'Operating System :: OS Independent',
                 'Programming Language :: Python',
                 'Topic :: Utilities',
                 'License :: OSI Approved :: Apache Software License'
],
    )

Use requirements.txt to determine requires in setup.py