import sys

from setuptools import setup, find_packages

requirements = ['elasticsearch>=1.0.0,<1.1.0']

if sys.version_info[:2] < (2, 7):
    requirements.append('argparse')
    requirements.append('ordereddict')

setup(
    name='elasticbackup',
    version='0.3.0',
    packages=find_packages(),

    # metadata for upload to PyPI
    author='Nick Stenning',
    author_email='nick@whiteink.com',
    url='https://github.com/nickstenning/elasticbackup',
    description=('elasticbackup: tools to backup and restore ElasticSearch '
                 'indices'),
    license='MIT',
    keywords='sysadmin elasticsearch backup restore',

    install_requires=requirements,

    entry_points={
        'console_scripts': [
            'elasticbackup = elasticbackup.backup:main',
            'elasticrestore = elasticbackup.restore:main'
        ]
    }
)

import sys

from setuptools import setup, find_packages

requirements = ['elasticsearch>=1.0.0,<1.1.0']

if sys.version_info[:2] < (2, 7):
    requirements.append('argparse')
    requirements.append('ordereddict')

setup(
    name='elasticbackup',
    version='0.4.0',
    packages=find_packages(),

    # metadata for upload to PyPI
    author='Nick Stenning',
    author_email='nick@whiteink.com',
    url='https://github.com/nickstenning/elasticbackup',
    description=('elasticbackup: tools to backup and restore ElasticSearch '
                 'indices'),
    license='MIT',
    keywords='sysadmin elasticsearch backup restore',

    install_requires=requirements,

    entry_points={
        'console_scripts': [
            'elasticbackup = elasticbackup.backup:main',
            'elasticrestore = elasticbackup.restore:main'
        ]
    }
)

Bump version: v0.4.0