-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (59 loc) · 1.79 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
from setuptools import setup, find_packages
version = '0.4'
name = 'plone.recipe.lxml'
entry_points = """
[zc.buildout]
default = plone.recipe.lxml:Recipe
"""
setup(name=name,
version=version,
description="Recipe that builds lxml and dependencies (libxslt, libxml2).",
long_description="""\
Notes
========
This recipe is only tested with Debian, Gentoo and minitage. The ``z3c.recipe.staticlxml``
recipe is better maintained.
Options
=================
**egg**
The desired lxml egg version (like ``lxml==2.2.6``).
**libxslt-url**
The URL to download the libxslt tarballe, the default value is:
'http://xmlsoft.org/sources/libxslt-1.1.26.tar.gz'
**libxml2-url**
The URL to download the libxml2 tarball, the default value is:
'http://xmlsoft.org/sources/libxml2-2.7.7.tar.gz'
Example buildout configuration
===============================
::
[buildout]
parts = lxml
eggs = lxml == 2.2.6
[lxml]
recipe=plone.recipe.lxml
egg = lxml == 2.2.6
""",
classifiers=[
"License :: OSI Approved :: Zope Public License",
"Framework :: Buildout",
"Framework :: Plone",
"Framework :: Zope2",
"Programming Language :: Python",
"Topic :: Text Processing :: Markup :: XML",
],
keywords='lxml recipe',
author='Joscha Krutzki',
author_email='joka at jokasis de',
url='http://svn.plone.org/svn/collective/buildout/plone.recipe.lxml',
license='ZPL 2.1',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['plone', 'plone.recipe'],
include_package_data=True,
zip_safe=False,
install_requires=[
'zc.buildout',
'setuptools',
'zc.recipe.egg',
],
entry_points=entry_points,
)