forked from jiffyclub/snakeviz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·65 lines (55 loc) · 1.87 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
64
65
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
import os
NAME = 'snakeviz'
VERSION = '2.1.dev'
# Create a simple version.py module; less trouble than hard-coding the version
with open(os.path.join('snakeviz', 'version.py'), 'w') as f:
f.write('__version__ = version = %r' % VERSION)
# Load up the description from README.rst
with open('README.rst') as f:
DESCRIPTION = f.read()
setup(
name=NAME,
version=VERSION,
author='Matt Davis',
author_email='[email protected]',
url='https://github.com/jiffyclub/snakeviz',
description='A web-based viewer for Python profiler output',
long_description=DESCRIPTION,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: JavaScript',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development'
],
packages=['snakeviz'],
package_data={
'snakeviz': ['static/*.ico',
'static/*.js',
'static/*.css',
'static/vendor/*.js',
'static/vendor/*.css',
'static/images/*.png',
'templates/*.html']
},
install_requires=['tornado>=2.0'],
entry_points={
'console_scripts': ['snakeviz = snakeviz.cli:main']
}
)