forked from zheller/flake8-quotes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (53 loc) · 1.72 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
53
54
55
56
57
58
59
60
61
import io
import os
from setuptools import setup
__dir__ = os.path.dirname(__file__)
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
LONG_DESCRIPTION = read(os.path.join(__dir__, 'README.rst'))
about = {}
with open(os.path.join(__dir__, 'flake8_quotes', '__about__.py')) as file:
exec(file.read(), about)
setup(
name='flake8-quotes',
author='Zachary Wright Heller',
author_email='[email protected]',
version=about['__version__'],
install_requires=[
'pycodestyle',
],
url='http://github.com/zheller/flake8-quotes/',
long_description=LONG_DESCRIPTION,
description='Flake8 lint for quotes.',
packages=['flake8_quotes'],
test_suite='test',
include_package_data=True,
entry_points={
'flake8.extension': [
'flake8_quotes = flake8_quotes:QuoteChecker',
],
},
license='MIT',
zip_safe=True,
keywords='flake8 lint quotes',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Quality Assurance',
]
)