Source

flake8 / setup.py

Florent Xicluna 1cda121 

Florent Xicluna 7941e1e 
Tarek Ziadé b250977 
Florent Xicluna 76de5f4 





Tarek Ziadé 02ef11f 
Florent Xicluna 1cda121 







Tarek Ziadé 036929f 
Tarek Ziadé b250977 


Florent Xicluna 76de5f4 
Florent Xicluna dfb11f0 
Florent Xicluna 1cda121 
Tarek Ziadé b250977 
Tarek Ziadé bfd8d9b 
Ian Cordasco abec526 

Tarek Ziadé b250977 
Tarek Ziadé a94428a 
Florent Xicluna 7941e1e 
Florent Xicluna a6c9075 
Florent Xicluna 2a2e1a7 

Florent Xicluna 7941e1e 
Florent Xicluna 16af905 






Tarek Ziadé b250977 




Florent Xicluna f4860f4 

Florent Xicluna 6ca1fad 

Ian Cordasco 69cbcce 
Florent Xicluna 7941e1e 

Ian Cordasco 69cbcce 
# -*- coding: utf-8 -*-
from __future__ import with_statement
from setuptools import setup


def get_version(fname='flake8/__init__.py'):
    with open(fname) as f:
        for line in f:
            if line.startswith('__version__'):
                return eval(line.split('=')[-1])


def get_long_description():
    descr = []
    for fname in ('README.rst', 'CHANGES.rst'):
        with open(fname) as f:
            descr.append(f.read())
    return '\n\n'.join(descr)


setup(
    name="flake8",
    license="MIT",
    version=get_version(),
    description="the modular source code checker: pep8, pyflakes and co",
    long_description=get_long_description(),
    author="Tarek Ziade",
    author_email="tarek@ziade.org",
    maintainer="Ian Cordasco",
    maintainer_email="graffatcolmingov@gmail.com",
    url="http://bitbucket.org/tarek/flake8",
    packages=["flake8", "flake8.tests"],
    install_requires=[
        "pyflakes >= 0.6.1",
        "pep8 >= 1.4.3",
        "mccabe >= 0.2",
    ],
    entry_points={
        'distutils.commands': ['flake8 = flake8.main:Flake8Command'],
        'console_scripts': ['flake8 = flake8.main:main'],
        'flake8.extension': [
            'F = flake8._pyflakes:FlakesChecker',
        ],
    },
    classifiers=[
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 3",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: Software Development :: Quality Assurance",
    ],
    tests_require=['nose'],
    test_suite='nose.collector',
)