This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
forked from PyCQA/pycodestyle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
Conflicts: pep8.py setup.py
- Loading branch information
Showing
9 changed files
with
145 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
pep8.egg-info | ||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
recursive-include testsuite * | ||
include pep8.py | ||
include *.txt | ||
include *.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +0,0 @@ | ||
TODO | ||
==== | ||
|
||
- Should command line option --repeat be enabled by default? | ||
|
||
- Does command line option --ignore properly prevent status code 1? | ||
|
||
- Release version 1.0 after a brief stabilization period. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,59 @@ | ||
from setuptools import setup, find_packages | ||
|
||
version = '0.6.2' | ||
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, | ||
classifiers=[], | ||
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', | ||
], | ||
}, | ||
) | ||
def get_version(): | ||
f = open('pep8.py') | ||
try: | ||
for line in f: | ||
if line.startswith('__version__'): | ||
return eval(line.split('=')[-1]) | ||
finally: | ||
f.close() | ||
|
||
|
||
def get_long_description(): | ||
descr = [] | ||
for fname in 'README.rst', 'CHANGES.txt': # , 'TODO.txt' | ||
f = open(fname) | ||
try: | ||
descr.append(f.read()) | ||
finally: | ||
f.close() | ||
return '\n\n'.join(descr) | ||
|
||
|
||
setup( | ||
name='pep8', | ||
version=get_version(), | ||
description="Python style guide checker", | ||
long_description=get_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', | ||
], | ||
) |
Oops, something went wrong.