-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
executable file
·54 lines (48 loc) · 1.85 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
# -*- coding: utf-8 -*-
"""
Copyright (c) 2013, Philipp Klaus. All rights reserved.
Copyright (c) 2007-2011 L. C. Rees. All rights reserved.
License: BSD (see LICENSE for details)
"""
from distutils.core import setup
import sys
try:
import pypandoc
LDESC = pypandoc.convert_file('README.md', 'rst', format='md')
except (IOError, ImportError):
sys.stderr.write("pypandoc ist not available. Cannot convert the REAMDE from Markdown to rST.\n")
LDESC = ''
except Exception as e:
sys.stderr.write("The conversion of the README to rST format failed with the following error:\n")
sys.stderr.write(str(e) + '\n')
LDESC = ''
setup(name='wsgi-request-logger',
version = '0.4.6',
description = 'Apache-like combined logging for WSGI Web Applications',
long_description = LDESC,
author = 'Philipp Klaus',
author_email = '[email protected]',
url = 'https://github.com/pklaus/wsgi-request-logger',
license = 'BSD',
packages = ['requestlogger'],
zip_safe = True,
platforms = 'any',
keywords = 'WSGI Apache-like request logging',
classifiers = [
'Development Status :: 4 - Beta',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Environment :: Web Environment',
'License :: OSI Approved :: BSD License',
'Topic :: System :: Monitoring',
'Topic :: System :: Logging',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
]
)