-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
75 lines (68 loc) · 1.92 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
import os
from setuptools import find_packages
from setuptools import setup
version = '0.2.2'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
try:
TODO = open(os.path.join(here, 'TODO.rst')).read()
except IOError:
TODO = ''
try:
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
except IOError:
CHANGES = ''
install_requires = [
'Babel',
'Kotti>=0.8dev',
'js.bootstrap_image_gallery',
'lingua>=1.3',
]
tests_require = [
'pytest',
'WebTest',
'wsgi_intercept',
'zope.testbrowser',
]
setup(
name='kotti_gallery',
version=version,
description='Add an image gallery to your Kotti site',
long_description=README + '\n\n' + TODO + '\n\n' + CHANGES,
classifiers=[
'Programming Language :: Python',
'Framework :: Pylons',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'License :: Repoze Public License',
],
keywords='image gallery bootstrap kotti cms pylons pyramid',
author='Andreas Kaiser',
author_email='disko@binary-punks.com',
url='https://github.com/disko/kotti_gallery',
license='BSD-derived (http://www.repoze.org/LICENSE.txt)',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'testing': tests_require,
},
message_extractors={
'kotti_gallery': [
('**.py', 'lingua_python', None),
('**.zcml', 'lingua_xml', None),
('**.pt', 'lingua_xml', None),
],
},
entry_points={
'fanstatic.libraries': [
'kotti_gallery = kotti_gallery.fanstatic:library',
],
},
)