forked from dbrenneman/collective.pdfpeek
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
69 lines (64 loc) · 1.8 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
from setuptools import setup, find_packages
import os
def read(*paths):
return open(os.path.join(os.path.dirname(__file__), *paths), 'r').read()
version = '2.0.1.dev0'
setup(
name='collective.pdfpeek',
version=version,
description="A Plone 4 product that generates image thumbnail previews " +
"of PDF files stored on ATFile based objects.",
long_description="\n\n".join([
read("README.rst"),
read("docs", "TODO.rst"),
read("docs", "INSTALL.rst"),
read("docs", "CHANGES.rst"),
]),
classifiers=[
"Framework :: Plone",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='Plone Zope Python PDF',
author='David Brenneman',
author_email='[email protected]',
url='https://github.com/collective/collective.pdfpeek',
license='GPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['collective'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'PyPDF2',
'plone.app.registry',
'plone.browserlayer',
'plone.rfc822',
'Pillow',
'plone.api',
],
extras_require={
'archetype': [
'Products.Archetypes',
'Products.ATContentTypes'
],
'dexterity': [
'plone.behavior',
'plone.app.contenttypes >= 1.0rc1'
],
'zamqp': [
'msgpack-python',
'collective.zamqp >= 0.12.0',
],
'test': [
'Products.ATContentTypes',
'msgpack-python',
'plone.app.contenttypes',
'plone.app.testing',
],
},
entry_points="""
[z3c.autoinclude.plugin]
target = plone
""",
)