-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
63 lines (58 loc) · 1.69 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
#!/usr/bin/env python
import sys
if sys.version_info < (2, 3):
from distutils.core import setup
def find_packages(exclude=None):
return ['collective', 'collective.jsonify']
else:
from setuptools import setup, find_packages
version = '1.7.dev0'
requirements = [
'setuptools',
]
# since Python 2.6 simplejson is not needed anymore
try:
import json
except ImportError:
requirements.append('simplejson')
setup(
name='collective.jsonify',
version=version,
description="JSON representation for content in Plone from 2.0 and above",
long_description="%s\n%s" % (
open("README.rst").read(),
open("CHANGES.rst").read(),
),
classifiers=[
"Development Status :: 6 - Mature",
"Framework :: Plone",
"Framework :: Plone :: 3.2",
"Framework :: Plone :: 3.3",
"Framework :: Plone :: 4.0",
"Framework :: Plone :: 4.1",
"Framework :: Plone :: 4.2",
"Framework :: Plone :: 4.3",
"Programming Language :: Python",
"Programming Language :: Python :: 2.4",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
],
keywords='Plone content export json transmogrify',
author='Rok Garbas',
author_email='rok@garbas.si',
url='https://github.com/collective/collective.jsonify',
license='GPL',
packages=find_packages(),
namespace_packages=['collective'],
include_package_data=True,
zip_safe=False,
install_requires=requirements,
extras_require={
'runhook': [
'collective.runhook',
]},
entry_points="""
[collective.runhook]
jsonify = collective.jsonify.hook:jsonify
"""
)