# -*- coding: utf-8 -*-
"""Python client for the Diffbot API."""

from setuptools import find_packages, setup


setup(
    name='diffbot',
    version='1.0.0',
    url='https://github.com/attilaolah/diffbot.py',
    license='MIT',
    author='Attila Oláh',
    author_email='attilaolah@gmail.com',
    description="Python client for the Diffbot API.",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Software Development :: Libraries",
    ],
    packages=find_packages('.'),
    package_dir={'': '.'},
    include_package_data=False,
    test_suite='nose.collector',
    zip_safe=True,
    use_2to3=True,
)

# -*- coding: utf-8 -*-
"""Python client for the Diffbot API."""
import sys
from setuptools import find_packages, setup


PY_VERSION = sys.version_info[0], sys.version_info[1]

requirements = []

if PY_VERSION == (2, 6):
    requirements.append('argparse')


setup(
    name='diffbot',
    version='1.0.0',
    url='https://github.com/attilaolah/diffbot.py',
    license='MIT',
    author='Attila Oláh',
    author_email='attilaolah@gmail.com',
    description="Python client for the Diffbot API.",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Software Development :: Libraries",
    ],
    install_requires=requirements,
    packages=find_packages('.'),
    package_dir={'': '.'},
    include_package_data=False,
    test_suite='nose.collector',
    zip_safe=True,
    use_2to3=True,
)

Add argparse to setup.py to fix dependency issue in py26