from setuptools import setup, find_packages
from platform import python_version_tuple


def requirements():
    with open('requirements.txt', 'r') as fileobj:
        requirements = [line.strip() for line in fileobj]

        version = python_version_tuple()

        if version[0] == 2 and version[1] == 6:
            requirements.append("argparse==1.4.0")
        return requirements


def long_description():
    with open('README.rst', 'r') as fileobj:
        return fileobj.read()


setup(
    name='coscmd',
    version='1.7.0',
    url='https://www.qcloud.com/',
    license='MIT',
    author='lewzylu',
    author_email='327874225@qq.com',
    description='simple command for cos',
    long_description=long_description(),
    packages=find_packages(),
    install_requires=requirements(),
    entry_points={
        'console_scripts': [
            'coscmd=coscmd.cos_cmd:_main',
        ],
    }
)

@@ -548,17 +548,17 @@
 on='1.7.
-0
+1
 ',%0D%0A    

update version to 1.7.1