-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
61 lines (58 loc) · 1.95 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
from setuptools import setup, find_packages
import os
import sys
version = '2.3.dev0'
genshi_requirement = 'Genshi'
if sys.version_info >= (3,):
genshi_requirement = 'Genshi>=0.7.0'
setup(
name='collective.recipe.template',
version=version,
description="Buildout recipe to generate a text file from a template",
long_description=(
open("README.rst", "rb").read().decode("utf-8")
+ "\n\n"
+ open(os.path.join("src", "collective", "recipe", "template",
"README.rst"), "rb").read().decode("utf-8")
+ "\n\n"
+ open("CHANGES.rst", "rb").read().decode("utf-8")
),
classifiers=[
"Framework :: Buildout",
"Programming Language :: Python",
"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 :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='template recipe',
author='Wichert Akkerman',
author_email='[email protected]',
url='https://github.com/collective/collective.recipe.template',
license='BSD',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['collective', 'collective.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'six',
'zc.buildout',
],
extras_require=dict(
test=['zope.testing', 'zope.testrunner'],
genshi=[genshi_requirement, ],
),
entry_points="""
[zc.buildout]
default = collective.recipe.template:Recipe
genshi = collective.recipe.template.genshitemplate:Recipe
""",
)