forked from PyCQA/pydocstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (24 loc) · 1020 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""`pep257` lives on `GitHub <http://github.com/GreenSteam/pep257/>`_."""
from distutils.core import setup
def get_version():
with open('pep257.py') as f:
for line in f:
if line.startswith('__version__'):
return eval(line.split('=')[-1])
setup(name='pep257',
version=get_version(),
description="Python docstring style checker",
long_description=__doc__,
license='MIT',
author='Vladimir Keleshev, GreenSteam A/S',
url='https://github.com/GreenSteam/pep257/',
classifiers=['Intended Audience :: Developers',
'Environment :: Console',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License'],
keywords='PEP 257, pep257, PEP 8, pep8, docstrings',
py_modules=['pep257'],
scripts=['pep257'],
tests_require=['mock==0.8'])