forked from xZise/flake8-string-format
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (45 loc) · 1.54 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- coding: utf-8 -*-
import codecs
from setuptools import setup
def get_version():
with open('flake8_string_format.py') as f:
for line in f:
if line.startswith('__version__'):
return eval(line.split('=')[-1])
def get_long_description():
with codecs.open('README.rst', 'r', 'utf-8') as f:
return f.read()
setup(
name='flake8-string-format',
version=get_version(),
description='string format checker, plugin for flake8',
long_description=get_long_description(),
keywords='flake8 format',
install_requires=['flake8'],
maintainer='Fabian Neundorf',
maintainer_email='[email protected]',
url='https://github.com/xZise/flake8-string-format',
license='MIT License',
py_modules=['flake8_string_format'],
zip_safe=False,
entry_points={
'flake8.extension': [
'P = flake8_string_format:StringFormatChecker',
],
},
tests_require=['six'],
test_suite='test_flake8_string_format',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Framework :: Flake8',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Quality Assurance',
],
)