import sys

from setuptools import setup, find_packages

import populous

requirements = [
    "click",
    "click-log",
    "cached-property",
    "Faker",
    "dateutils",
    "PyYAML",
    "peloton_bloomfilters",
    "Jinja2"
]

if sys.version_info < (3, 2):
    requirements.append('functools32')

setup(
    name="populous",
    version=populous.__version__,
    url=populous.__url__,
    description=populous.__doc__,
    author=populous.__author__,
    license=populous.__license__,
    long_description="TODO",
    packages=find_packages(),
    install_requires=requirements,
    extras_require={
        'tests': ['tox', 'pytest', 'pytest-mock', 'flake8'],
    },
    entry_points={
        'console_scripts': [
            'populous = populous.__main__:cli'
        ]
    },
    classifiers=[
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: MIT License",
        "Operating System :: POSIX",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Utilities",
    ],
    keywords='populous populate database',
)

import sys

from setuptools import setup, find_packages

import populous

requirements = [
    "click",
    "click-log",
    "cached-property",
    "Faker",
    "dateutils",
    "PyYAML",
    "peloton_bloomfilters",
    "Jinja2"
]

if sys.version_info < (3, 2):
    requirements.append('functools32')

setup(
    name="populous",
    version=populous.__version__,
    url=populous.__url__,
    description=populous.__doc__,
    author=populous.__author__,
    license=populous.__license__,
    long_description="TODO",
    packages=find_packages(),
    install_requires=requirements,
    extras_require={
        'tests': ['tox', 'pytest', 'pytest-mock', 'flake8'],
    },
    entry_points={
        'console_scripts': [
            'populous = populous.__main__:cli'
        ]
    },
    classifiers=[
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: MIT License",
        "Operating System :: POSIX",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Topic :: Utilities",
    ],
    keywords='populous populate database',
)

Remove Python 3 classifiers in setup.py