old_contents: from setuptools import setup
  
  version = '2.0.0'
  
  setup(name='pyactiveresource',
        version=version,
        description='ActiveResource for Python',
        author='Shopify',
        author_email='developers@shopify.com',
        url='https://github.com/Shopify/pyactiveresource/',
        packages=['pyactiveresource', 'pyactiveresource/testing'],
        license='MIT License',
        test_suite='test',
        tests_require=[
            'python-dateutil<2.0', # >= 2.0 is for python>=3.0
            'PyYAML',
        ],
        platforms=['any'],
        classifiers=['Development Status :: 5 - Production/Stable',
                     'Intended Audience :: Developers', 
                     'License :: OSI Approved :: MIT License', 
                     'Operating System :: OS Independent', 
                     'Programming Language :: Python', 
                     'Topic :: Software Development', 
                     'Topic :: Software Development :: Libraries', 
                     'Topic :: Software Development :: Libraries :: Python Modules']
      )
  
new_contents: from setuptools import setup
  import sys
  
  version = '2.0.0'
  
  if sys.version_info >= (3,):
      python_dateutils_version = 'python-dateutil>=2.0'
  else:
      python_dateutils_version = 'python-dateutil<2.0'
  
  
  setup(name='pyactiveresource',
        version=version,
        description='ActiveResource for Python',
        author='Shopify',
        author_email='developers@shopify.com',
        url='https://github.com/Shopify/pyactiveresource/',
        packages=['pyactiveresource', 'pyactiveresource/testing'],
        license='MIT License',
        test_suite='test',
        tests_require=[
            python_dateutils_version,
            'PyYAML',
        ],
        platforms=['any'],
        classifiers=['Development Status :: 5 - Production/Stable',
                     'Intended Audience :: Developers', 
                     'License :: OSI Approved :: MIT License', 
                     'Operating System :: OS Independent', 
                     'Programming Language :: Python', 
                     'Topic :: Software Development', 
                     'Topic :: Software Development :: Libraries', 
                     'Topic :: Software Development :: Libraries :: Python Modules']
      )
  
subject: Use the right version of python-dateutils when using python 3.