forked from plone/plone.supermodel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
74 lines (67 loc) · 1.88 KB
/
setup.py
File metadata and controls
74 lines (67 loc) · 1.88 KB
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
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
import os
import sys
# if <= Python 2.6 or less, specify minimum zope.schema compatible:
ZOPESCHEMA = 'zope.schema'
if sys.version_info < (2, 7):
ZOPESCHEMA += '>=4.1.0'
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
version = '1.2.8.dev0'
long_description = (
read('README.rst')
+ '\n' +
read('CHANGES.rst')
+ '\n'
)
setup(
name='plone.supermodel',
version=version,
description="Serialize Zope schema definitions to and from XML",
long_description=long_description,
# Get more strings from
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Framework :: Plone",
"Framework :: Plone :: 4.3",
"Framework :: Plone :: 5.0",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: BSD License",
],
keywords='Plone XML schema',
author='Martin Aspeli',
author_email='optilude@gmail.com',
url='https://github.com/plone/plone.supermodel',
license='BSD',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['plone'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'lxml',
'zope.component',
'zope.i18nmessageid',
'zope.interface',
ZOPESCHEMA,
'zope.deferredimport',
'zope.dottedname',
'z3c.zcmlhook',
'six',
],
extras_require={
'lxml': [], # BBB
'plone.rfc822': ['plone.rfc822'],
'test': [
'plone.rfc822',
],
},
entry_points="""
# -*- Entry points: -*-
""",
)