import os

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

required = ['requests>=0.11.2',
            'requests-oauth2>=0.2.1']

setup(
    name='basecampx',
    version='0.1.7',
    author='Rimvydas Naktinis',
    author_email='naktinis@gmail.com',
    description=('Wrapper for Basecamp Next API.'),
    license="MIT",
    keywords="basecamp bcx api",
    url='https://github.com/nous-consulting/basecamp-next',
    packages=['basecampx'],
    install_requires=required,
    long_description=read('README.rst'),
    include_package_data=True,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.7'
    ],
)

import os

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

required = ['requests>=0.11.2',
            'requests-oauth2>=0.2.0']

setup(
    name='basecampx',
    version='0.1.7',
    author='Rimvydas Naktinis',
    author_email='naktinis@gmail.com',
    description=('Wrapper for Basecamp Next API.'),
    license="MIT",
    keywords="basecamp bcx api",
    url='https://github.com/nous-consulting/basecamp-next',
    packages=['basecampx'],
    install_requires=required,
    long_description=read('README.rst'),
    include_package_data=True,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.7'
    ],
)

Use the correct Requests OAuth lib version (previously we used a patched lib).