setup.py 1.32 KB
Newer Older
1
#!/usr/bin/env python
John Costa's avatar
John Costa committed
2
import os
3
import sys
4
from setuptools import setup
John Costa's avatar
John Costa committed
5 6 7 8

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

9 10 11 12 13 14 15
requirements = [
    'requests >= 2.2.1',
    'six >= 1.3.0',
]

if sys.version_info[0] < 3:
    requirements.append('websocket-client >= 0.11.0')
16

Joffrey F's avatar
Joffrey F committed
17 18
exec(open('docker/version.py').read())

19 20
with open('./test-requirements.txt') as test_reqs_txt:
    test_requirements = [line for line in test_reqs_txt]
21

22

John Costa's avatar
John Costa committed
23 24
setup(
    name="docker-py",
Joffrey F's avatar
Joffrey F committed
25
    version=version,
John Costa's avatar
John Costa committed
26
    description="Python client for Docker.",
27 28
    packages=['docker', 'docker.auth', 'docker.unixconn', 'docker.utils',
              'docker.ssladapter'],
29 30
    install_requires=requirements,
    tests_require=test_requirements,
John Costa's avatar
John Costa committed
31
    zip_safe=False,
32
    test_suite='tests',
33 34 35 36 37 38 39 40 41 42
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Other Environment',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
43
        'Programming Language :: Python :: 3.4',
44 45
        'Topic :: Utilities',
        'License :: OSI Approved :: Apache Software License',
46 47
    ],
)