forked from polysquare/polysquare-setuptools-lint
/
setup.py
86 lines (78 loc) · 2.66 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# /setup.py
#
# Installation and setup script for polysquare-setuptools-lint
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for polysquare-setuptools-lint."""
try:
from polysquare_setuptools_lint import PolysquareLintCommand
_CMDCLASS = {
"polysquarelint": PolysquareLintCommand
}
except ImportError:
_CMDCLASS = dict()
import platform
import sys
from setuptools import (find_packages, setup)
if (not (platform.python_implementation() == "PyPy" and
sys.version_info.major == 3) and
platform.system() != "Windows"):
_ADDITIONAL_LINTERS = ["frosted"]
else:
_ADDITIONAL_LINTERS = list()
setup(name="polysquare-setuptools-lint",
version="0.0.33",
description="""Provides a 'polysquarelint' command for setuptools""",
long_description_markdown_filename="README.md",
author="Sam Spilsbury",
author_email="smspillaz@gmail.com",
url="http://github.com/polysquare/polysquare-setuptools-lint",
classifiers=["Development Status :: 3 - Alpha",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License"],
license="MIT",
keywords="development linters",
packages=find_packages(exclude=["test"]),
cmdclass=_CMDCLASS,
install_requires=[
"setuptools",
"jobstamps>=0.0.16",
"parmap",
"pep8",
"dodgy",
"mccabe",
"pep257",
"pyflakes",
"pylint-common",
"pyroma==1.8.3",
"vulture",
"logilab-common==0.63.0",
"prospector>=0.10.1",
"flake8==2.3.0",
"flake8-blind-except",
"flake8-docstrings",
"flake8-double-quotes",
"flake8-import-order",
"flake8-todo",
"six",
"polysquare-generic-file-linter>=0.1.11"
] + _ADDITIONAL_LINTERS,
extras_require={
"upload": ["setuptools-markdown"]
},
entry_points={
"distutils.commands": [
("polysquarelint=polysquare_setuptools_lint:"
"PolysquareLintCommand"),
]
},
zip_safe=True,
include_package_data=True)