forked from gawel/wsgithumb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (38 loc) · 1.18 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
from setuptools import setup, find_packages
version = '0.1'
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',
'PIL',
],
entry_points="""
# -*- Entry points: -*-
[paste.app_factory]
main = wsgithumb:make_thumb_app
thumbs = wsgithumb:make_thumb_app
files = wsgithumb:make_file_app
""",
)