-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
84 lines (72 loc) · 2.21 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
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
import os
import sys
version = "6.0.0b4.dev0"
def read(name):
return open(os.path.join(os.path.dirname(__file__), name)).read()
requires = [
"setuptools",
"Genshi>=0.7.0",
"hexagonit.recipe.download",
"zc.buildout>=2.0.0a1",
"zope.deprecation",
]
test_requires = requires + [
"zope.exceptions",
"zope.interface",
"zope.testing",
]
if sys.version_info <= (2, 7):
test_requires.append("unittest2")
long_description = "\n".join(
[
read("README.rst"),
read("CHANGES.rst"),
"Contributors",
"************",
read("CONTRIBUTORS.rst"),
"Download",
"********",
]
)
setup(
name="collective.recipe.solrinstance",
version=version,
description="zc.buildout to configure a solr instance",
long_description=long_description,
classifiers=[
"Framework :: Buildout",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
keywords="solr buildout recipe",
author="Kai Lautaportti",
author_email="[email protected]",
url="http://pypi.python.org/pypi/collective.recipe.solrinstance",
license="ZPL",
packages=find_packages(exclude=["ez_setup"]),
namespace_packages=["collective", "collective.recipe"],
include_package_data=True,
zip_safe=False,
install_requires=requires,
extras_require=dict(
test=test_requires,
),
test_suite="collective.recipe.solrinstance.tests.test_doctests.test_suite",
# TODO: Remove the mc entry point in next major releases
# since from collective.recip.solrinstance 6 it is identical to the default
entry_points={
"zc.buildout": [
"default = collective.recipe.solrinstance:SolrRecipe",
"mc = collective.recipe.solrinstance:MultiCoreSolrRecipe",
]
},
)