-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
51 lines (47 loc) · 1.37 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
from setuptools import setup, find_packages
version = '0.3.dev0'
def description():
try:
return open('README.rst').read()
except:
return ''
setup(name='wsgithumb',
version=version,
description=("helpers to get a WebOb response to serve static files "
"and thumbnails in an efficient way"),
long_description=description(),
classifiers=[
'Framework :: Pylons',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP :: WSGI',
],
keywords='pyramid wsgi thumbnail PIL X-Sendfile X-Accel-Redirect',
author='Gael Pasgrimaud',
author_email='gael@gawel.org',
url='http://github.com/gawel/wsgithumb',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
# -*- Extra requirements: -*-
'WebOb',
'Pillow',
],
extras_require={
'test': [
'pyramid',
'Django',
'coverage',
'webtest',
'pystacia',
]
},
entry_points="""
# -*- Entry points: -*-
[paste.app_factory]
main = wsgithumb:make_thumb_app
thumbs = wsgithumb:make_thumb_app
files = wsgithumb:make_file_app
""",
)