forked from martinblech/mimerender
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (30 loc) · 1.08 KB
/
setup.py
File metadata and controls
32 lines (30 loc) · 1.08 KB
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
#!/usr/bin/env python
from setuptools import setup
setup(
name='mimerender',
version='0.4',
description='RESTful resource variant selection using the '
'HTTP Accept header',
author='Martin Blech',
author_email='martinblech@gmail.com',
url='https://github.com/martinblech/mimerender',
license='MIT',
long_description="""This module provides a decorator that wraps a HTTP
request handler to select the correct render function for a given HTTP
Accept header. It uses mimeparse to parse the accept string and select the
best available representation.""",
platforms=['all'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
py_modules=['mimerender'],
package_dir={'':'src'},
requires=['mimeparse'],
install_requires=['mimeparse'],
)