diff options
-rwxr-xr-x | pep8.py | 2 | ||||
-rw-r--r-- | setup.py | 67 |
2 files changed, 36 insertions, 33 deletions
@@ -108,6 +108,7 @@ try: except NameError: from sets import ImmutableSet as frozenset + DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git' DEFAULT_IGNORE = 'E24' MAX_LINE_LENGTH = 79 @@ -125,6 +126,7 @@ WHITESPACE_AROUND_NAMED_PARAMETER_REGEX = \ re.compile(r'[()]|\s=[^=]|[^=!<>]=\s') LAMBDA_REGEX = re.compile(r'\blambda\b') + WHITESPACE = ' \t' BINARY_OPERATORS = frozenset(['**=', '*=', '+=', '-=', '!=', '<>', @@ -5,37 +5,38 @@ long_description = '\n\n'.join([open('README.rst').read(), open('CHANGES.txt').read(), open('TODO.txt').read()]) -setup(name='pep8', - version=version, - description="Python style guide checker", - long_description=long_description, - keywords='pep8', - author='Johann C. Rocholl', - author_email='johann@rocholl.net', - url='http://github.com/jcrocholl/pep8', - license='Expat license', - py_modules=['pep8'], - namespace_packages=[], - include_package_data=True, - zip_safe=False, - install_requires=[ - 'setuptools', - # -*- Extra requirements: -*- - ], - entry_points={ - 'console_scripts': [ - 'pep8 = pep8:_main', - ], - }, - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 3', - 'Topic :: Software Development :: Libraries :: Python Modules', - ], +setup( + name='pep8', + version=version, + description="Python style guide checker", + long_description=long_description, + keywords='pep8', + author='Johann C. Rocholl', + author_email='johann@rocholl.net', + url='http://github.com/jcrocholl/pep8', + license='Expat license', + py_modules=['pep8'], + namespace_packages=[], + include_package_data=True, + zip_safe=False, + install_requires=[ + 'setuptools', + # -*- Extra requirements: -*- + ], + entry_points={ + 'console_scripts': [ + 'pep8 = pep8:_main', + ], + }, + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 3', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], ) |