forked from jrmuizel/statprof.py
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
executable file
·34 lines (30 loc) · 944 Bytes
/
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
#!/usr/bin/env python
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name="statprof",
version="0.1.3",
author="Bryan O'Sullivan",
author_email="bos@serpentine.com",
description="Statistical profiling for Python",
license=read('LICENSE'),
keywords="profiling",
url="http://packages.python.org/statprof",
py_modules=['statprof'],
long_description=read('README.rst'),
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Operating System :: Unix",
"Topic :: Utilities",
],
**extra
)