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


CLASSIFIERS = [
    'Development Status :: 4 - Beta',
    'Environment :: Console',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2.7',
    'Topic :: Software Development :: Code Generators',
    'Topic :: Software Development :: Libraries :: Python Modules']

setup(
    name='code-formatter',
    author='Tomasz Rybarczyk',
    author_email='paluho@gmail.com',
    classifiers=CLASSIFIERS,
    description='',
    dependency_links=[],
    install_requires=[],
    url='https://github.com/paluh/code-formatter',
    packages=['code_formatter', 'code_formatter.extras'],
    scripts=[],
    test_suite='code_formatter.tests.test_suite',
    zip_safe=False,
    version = '0.1.0c1',
)

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


from code_formatter import __version__

CLASSIFIERS = [
    'Development Status :: 4 - Beta',
    'Environment :: Console',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2.7',
    'Topic :: Software Development :: Code Generators',
    'Topic :: Software Development :: Libraries :: Python Modules']

setup(
    name='code-formatter',
    author='Tomasz Rybarczyk',
    author_email='paluho@gmail.com',
    classifiers=CLASSIFIERS,
    description='',
    dependency_links=[],
    install_requires=[],
    url='https://github.com/paluh/code-formatter',
    packages=['code_formatter', 'code_formatter.extras'],
    scripts=[],
    test_suite='code_formatter.tests.test_suite',
    zip_safe=False,
    version = __version__,
)

Define version in one place
Define version in one place
