forked from RedTurtle/redturtle.video
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (55 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
# -*- coding: utf-8 -*-
import os, sys
from setuptools import setup, find_packages
version = '1.1.0.dev0'
tests_require=['zope.testing', 'Products.contentmigration']
install_requires = ['setuptools',
'hachoir_core',
'hachoir_metadata',
'hachoir_parser',
'collective.flowplayer=4.2',
'plone.app.imaging>=1.0b9',
]
# what I read there seems not working propery for Plone 3.3
# http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-4.0-to-4.1/referencemanual-all-pages
if sys.version_info < (2, 6):
install_requires.append('Plone')
install_requires.append('collective.relateditems')
else:
install_requires.append('Products.CMFPlone')
setup(name='redturtle.video',
version=version,
description="Video content types for Plone; "
"use collective.flowplayer but also pluggable with external services",
long_description=open("README.rst").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Framework :: Plone',
'Framework :: Plone :: 3.3',
'Framework :: Plone :: 4.0',
'Framework :: Plone :: 4.1',
'Framework :: Plone :: 4.2',
'Framework :: Plone :: 4.3',
'Development Status :: 5 - Production/Stable',
'Topic :: Multimedia :: Video',
'License :: OSI Approved :: GNU General Public License (GPL)',
],
keywords='plone video flowplayer plonegov',
author='RedTurtle Technology',
author_email='sviluppoplone@redturtle.it',
url='http://plone.org/products/redturtle.video',
license='GPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['redturtle', ],
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
extras_require=dict(test=tests_require),
test_suite = 'redturtle.video.tests.test_doctest.test_suite',
entry_points="""
[z3c.autoinclude.plugin]
target = plone
""",
)