#!/usr/bin/env python

from distutils.core import setup
from os.path import abspath, join, dirname

setup(
    name='ccm',
    version='1.1',
    description='Cassandra Cluster Manager',
    long_description=open(abspath(join(dirname(__file__), 'README'))).read(),
    author='Sylvain Lebresne',
    author_email='sylvain@datastax.com',
    url='https://github.com/pcmanus/ccm',
    packages=['ccmlib', 'ccmlib.cmds'],
    scripts=['ccm'],
    install_requires=['pyYaml', 'six >=1.4.1'],
    classifiers=[
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python",
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3'
    ],

)

#!/usr/bin/env python

from os.path import abspath, join, dirname

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


setup(
    name='ccm',
    version='1.1',
    description='Cassandra Cluster Manager',
    long_description=open(abspath(join(dirname(__file__), 'README'))).read(),
    author='Sylvain Lebresne',
    author_email='sylvain@datastax.com',
    url='https://github.com/pcmanus/ccm',
    packages=['ccmlib', 'ccmlib.cmds'],
    scripts=['ccm'],
    install_requires=['pyYaml', 'six >=1.4.1'],
    classifiers=[
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python",
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3'
    ],

)

Use setuptools to run with install_requires