forked from plone/plone.recipe.codeanalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
89 lines (82 loc) · 2.71 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
87
88
89
# -*- coding: utf-8 -*-
"""
This module contains the tool of plone.recipe.codeanalysis
"""
from setuptools import find_packages
from setuptools import setup
import os
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '2.3.dev0'
long_description = '\n\n'.join([
read('README.rst'),
read('plone', 'recipe', 'codeanalysis', 'README.rst'),
read('CONTRIBUTORS.rst'),
read('CHANGES.rst'),
])
entry_point = 'plone.recipe.codeanalysis:Recipe'
entry_points = {
'zc.buildout': [
'default = {0:s}'.format(entry_point)
]
}
setup(name='plone.recipe.codeanalysis',
version=version,
description='Static code analysis for buildout-based Python projects.',
long_description=long_description,
# Get more from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Buildout',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python',
'Topic :: Software Development :: Build Tools',
],
keywords='',
author='Timo Stollenwerk',
author_email='contact@timostollenwerk.net',
url='http://github.com/plone/plone.recipe.codeanalysis/',
license='GPL version 2',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['plone', 'plone.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=[
'check-manifest',
'flake8>=2.4.0',
'setuptools',
'zc.buildout',
'zc.recipe.egg',
],
extras_require={
'test': [
'testfixtures',
'zc.buildout [test]',
'zope.testing',
],
'recommended': [
'flake8-blind-except',
'flake8-coding',
'flake8-commas',
'flake8-debugger',
'flake8-deprecated',
'flake8-isort',
'flake8-pep3101',
'flake8-plone-api',
'flake8-plone-hasattr',
'flake8-print',
'flake8-quotes',
'flake8-string-format',
'flake8-todo',
'flake8_strict',
],
},
test_suite='plone.recipe.codeanalysis.tests.test_docs.test_suite',
entry_points=entry_points,
)