/
setup.py
executable file
·68 lines (63 loc) · 2.04 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
import os
from setuptools import setup, find_packages
entry_points = {
"zc.buildout" : [
'default = nti.recipes.zcml:ZCML'
],
}
here = os.path.dirname(__file__)
def read(*rnames):
with open(os.path.join(here, *rnames)) as f:
return f.read()
setup(
name='nti.recipes.zcml',
version='1.0.1.dev0',
author='Jason Madden',
author_email='open-source@nextthought.com',
description="zc.buildout recipes for writing ZCML",
long_description=(
read('src', 'nti', 'recipes', 'zcml', 'README.rst')
+ '\n\n' +
read('CHANGES.rst')
),
license='APACHE 2.0',
keywords='buildout zcml',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
'Framework :: Buildout',
],
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['nti', 'nti.recipes'],
install_requires=[
'setuptools',
'zc.buildout >= 2.9.4',
],
extras_require={
'test': [
# we import zc.buildout's 'test' package. It does have a
# 'test' extra, but we really don't want all the things
# that drags in, so we just list what's necessary for our
# own tests to run.
'manuel',
'zope.testing',
'zope.testrunner'
],
},
url='http://github.com/OpenNTI/nti.recipes.zcml',
entry_points=entry_points,
include_package_data=True,
zip_safe=False,
)