-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (56 loc) · 2.17 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
54
55
56
57
58
59
60
61
62
63
# encoding: utf-8
# Created by Jeremy Bowman on Thu Feb 20 16:54:00 EST 2014
# Copyright (c) 2014, 2015 Safari Books Online. All rights reserved.
#
# This software may be modified and distributed under the terms
# of the 3-clause BSD license. See the LICENSE file for details.
"""
yet-another-django-profiler setup script
"""
import codecs
import sys
from setuptools import find_packages, setup
from yet_another_django_profiler import __version__
version = '.'.join(str(n) for n in __version__)
install_requires = [
'Django',
]
if '{0.major}.{0.minor}'.format(sys.version_info) < '3.3':
install_requires.append('mock')
with codecs.open('README.rst', 'r', 'utf-8') as f:
long_description = f.read()
setup(
name='yet-another-django-profiler',
version=version,
author='Jeremy Bowman',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Software Development',
],
description='Django middleware for performance profiling directly from the browser',
long_description=long_description,
url='http://github.com/safarijv/yet-another-django-profiler',
packages=find_packages(exclude=['ez_setup', 'tests']),
include_package_data=True,
scripts=['gprof2dot.py'],
zip_safe=True,
install_requires=install_requires,
)