1#!/usr/bin/env python 2import os 3 4from setuptools import setup 5 6 7ROOT_DIR = os.path.dirname(__file__) 8SOURCE_DIR = os.path.join(ROOT_DIR) 9 10requirements = [ 11 'six >= 1.4.0', 12] 13 14version = None 15exec(open('dockerpycreds/version.py').read()) 16 17with open('./test-requirements.txt') as test_reqs_txt: 18 test_requirements = [line for line in test_reqs_txt] 19 20long_description = None 21with open('./README.md', 'r') as readme: 22 long_description = readme.read() 23 24 25setup( 26 name="docker-pycreds", 27 version=version, 28 description="Python bindings for the docker credentials store API", 29 long_description=long_description, 30 url='https://github.com/shin-/dockerpy-creds', 31 license='Apache License 2.0', 32 packages=[ 33 'dockerpycreds', 34 ], 35 install_requires=requirements, 36 tests_require=test_requirements, 37 zip_safe=False, 38 test_suite='tests', 39 classifiers=[ 40 'Development Status :: 4 - Beta', 41 'Environment :: Other Environment', 42 'Intended Audience :: Developers', 43 'Operating System :: OS Independent', 44 'Programming Language :: Python', 45 'Programming Language :: Python :: 2', 46 'Programming Language :: Python :: 2.6', 47 'Programming Language :: Python :: 2.7', 48 'Programming Language :: Python :: 3', 49 'Programming Language :: Python :: 3.3', 50 'Programming Language :: Python :: 3.4', 51 'Programming Language :: Python :: 3.5', 52 'Programming Language :: Python :: 3.6', 53 'Topic :: Utilities', 54 'License :: OSI Approved :: Apache Software License', 55 ], 56) 57