forked from defnull/multipart
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
42 lines (34 loc) · 1.42 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
#!/usr/bin/env python
import sys
import os.path
from distutils.core import setup
if sys.version_info < (2,5):
raise NotImplementedError("Sorry, you need at least Python 2.5 or Python 3.x to use this module.")
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py
from multipart import __version__, __author__, __license__, __doc__
setup(name='multipart',
version = __version__,
description = 'Parser for multipart/form-data.',
long_description = __doc__,
author = __author__,
author_email = '[email protected]',
url = 'http://github.com/defnull/multipart',
py_modules = ['multipart'],
license = __license__,
platforms = 'any',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries',
'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 3'],
cmdclass = {'build_py': build_py}
)