flake8 / setup.py

Tarek Ziadé eba1375 
mrlabbe dde622e 
Tarek Ziadé eba1375 

Ian Cordasco 69cbcce 
Tarek Ziadé eba1375 
Mathieu Agopian 3df466f 
mrlabbe e4e4dbb 
Tarek Ziadé eba1375 
Tarek Ziadé 125822e 
mrlabbe dde622e 

Tarek Ziadé eba1375 

Tarek Ziadé c8fbac6 
Mathieu Agopian 3df466f 
Ian Cordasco 69cbcce 
Ian Cordasco 99512ea 

Ian Cordasco 69cbcce 
Mathieu Agopian 3df466f 


Tarek Ziadé eba1375 

mrlabbe dde622e 

Tarek Ziadé b250977 
Tarek Ziadé 02ef11f 

Ian Cordasco 10db2c2 
Tarek Ziadé 036929f 
Tarek Ziadé b250977 


Tarek Ziadé 02ef11f 
Tarek Ziadé 72a440d 
Tarek Ziadé b250977 
Tarek Ziadé bfd8d9b 
Ian Cordasco abec526 

Tarek Ziadé b250977 
Tarek Ziadé a94428a 
mrlabbe e4e4dbb 
Ian Cordasco c2f1716 
Tarek Ziadé b250977 







Ian Cordasco 69cbcce 

import sys
import os

ispy3 = sys.version_info[0] == 3
iswin = os.name == 'nt'

kwargs = {}
scripts = ["flake8/flake8"]
if ispy3:
    from distutils.core import setup    # NOQA
    if iswin:
        scripts.append("scripts/flake8.cmd")
else:
    try:
        from setuptools import setup    # NOQA
        kwargs = {
            'entry_points': {
                'distutils.commands': ['flake8 = flake8.main:Flake8Command'],
                'console_scripts': ['flake8 = flake8.main:main']
            },
            'tests_require': ['nose'],
            'test_suite': 'nose.collector',
        }
    except ImportError:
        from distutils.core import setup   # NOQA
        if iswin:
            scripts.append("scripts/flake8.cmd")

from flake8 import __version__

README = open('README.rst').read()

setup(
    name="flake8",
    license="MIT",
    version=__version__,
    description="code checking using pep8 and pyflakes",
    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"],
    scripts=scripts,
    install_requires=["flakey (==2.0)",  "pep8 (==1.4.1)"],
    long_description=README,
    classifiers=[
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Topic :: Software Development",
        "Topic :: Utilities",
    ],
    **kwargs
)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.