-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
45 lines (41 loc) · 1.47 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
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sys
install_requires = ["mako", "networkx==1.7", "pillow", "pygraphviz", 'Paste', 'WebOb']
# ordereddict is required for versions < 2.7; its included in collections in
# versions 2.7+ and 3.0+
if sys.version_info < (2, 7):
install_requires.append("ordereddict")
setup(
name='linesman',
version='0.3.2',
description='WSGI Profiling middleware',
long_description=open("README.rst", "r").read(),
author='Andrew McFague',
author_email='[email protected]',
url='http://pypi.python.org/pypi/linesman',
test_suite='nose.collector',
tests_require=['nose', 'mock==0.7', 'webtest'],
zip_safe=False,
packages=find_packages(exclude=["ez_setup", "linesman.tests", "linesman.tests.*"]),
package_data = {
'linesman': ['templates/*', 'media/css/*', 'media/js/*', 'media/images/*'],
},
install_requires=install_requires,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
],
entry_points="""
[paste.filter_app_factory]
profiler = linesman.middleware:profiler_filter_app_factory
[paste.filter_factory]
profiler = linesman.middleware:profiler_filter_factory
"""
)