smb2_server: grant all 8192 credits to clients
[Samba.git] / third_party / pep8 / setup.py
blob29182c6d6f996ca04b538796efc330c12c84dd7b
1 # -*- coding: utf-8 -*-
2 from __future__ import with_statement
3 from setuptools import setup
6 def get_version():
7 with open('pep8.py') as f:
8 for line in f:
9 if line.startswith('__version__'):
10 return eval(line.split('=')[-1])
13 def get_long_description():
14 descr = []
15 for fname in 'README.rst', 'CHANGES.txt':
16 with open(fname) as f:
17 descr.append(f.read())
18 return '\n\n'.join(descr)
21 setup(
22 name='pep8',
23 version=get_version(),
24 description="Python style guide checker",
25 long_description=get_long_description(),
26 keywords='pep8',
27 author='Johann C. Rocholl',
28 author_email='johann@rocholl.net',
29 url='http://pep8.readthedocs.org/',
30 license='Expat license',
31 py_modules=['pep8'],
32 namespace_packages=[],
33 include_package_data=True,
34 zip_safe=False,
35 install_requires=[
36 # Broken with Python 3: https://github.com/pypa/pip/issues/650
37 # 'setuptools',
39 entry_points={
40 'console_scripts': [
41 'pep8 = pep8:_main',
44 classifiers=[
45 'Development Status :: 5 - Production/Stable',
46 'Environment :: Console',
47 'Intended Audience :: Developers',
48 'License :: OSI Approved :: MIT License',
49 'Operating System :: OS Independent',
50 'Programming Language :: Python',
51 'Programming Language :: Python :: 2',
52 'Programming Language :: Python :: 3',
53 'Topic :: Software Development :: Libraries :: Python Modules',
55 test_suite='testsuite.test_all.suite',