import sys
if sys.version_info < (2, 7):
    print sys.stderr, "{}: need Python 2.7 or later.".format(sys.argv[0])
    print sys.stderror, "Your python is {}".format(sys.version)
    sys.exit(1)

from setuptools import setup

setup(
    name = "python-json-logger",
    version = "0.0.1",
    url = "http://github.com/madzak/python-json-logger",
    license = "BSD",
    description = "A python library adding a json log formatter",
    author = "Zakaria Zajac",
    author_email = "zak@madzak.com",
    package_dir = {'': 'src'},
    packages = [''],
    test_suite = "tests.tests",
    install_requires = ['setuptools'],
    classifiers = [
        'Development Status :: 1 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operation System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Topic :: Logging',
    ]
)

import sys
if sys.version_info < (2, 7):
    print sys.stderr, "{}: need Python 2.7 or later.".format(sys.argv[0])
    print sys.stderror, "Your python is {}".format(sys.version)
    sys.exit(1)

from setuptools import setup

setup(
    name = "python-json-logger",
    version = "0.0.1",
    url = "http://github.com/madzak/python-json-logger",
    license = "BSD",
    description = "A python library adding a json log formatter",
    author = "Zakaria Zajac",
    author_email = "zak@madzak.com",
    package_dir = {'': 'src'},
    packages = [''],
    test_suite = "tests.tests",
    install_requires = ['setuptools'],
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Topic :: System :: Logging',
    ]
)

Use trove classifiers from official list
Use trove classifiers from official list

(aligned with https://pypi.python.org/pypi?%3Aaction=list_classifiers)
