-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (36 loc) · 1.92 KB
/
setup.py
File metadata and controls
38 lines (36 loc) · 1.92 KB
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
from setuptools import setup
from distutils.core import Extension
extra_compile_args = []
setup(name='pytrace',
version='0.2.4',
description='pytrace is a fast python tracer. pytrace records function calls, arguments and return values. traces aid debugging, profiling and obviate logging.',
author='Alon Horev',
author_email='alonho@gmail.com',
url='https://github.com/alonho/pytrace',
classifiers = ["Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Environment :: Console :: Curses",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Debuggers"],
license='LGPL',
packages=['pytrace', 'pytrace.reader'],
install_requires=['sqlalchemy',
'urwid',
'six'],
ext_modules=[Extension("pytrace.tracer",
sources=["ext/trace.c",
"ext/serial.c",
"ext/ring.c",
"ext/dump.c",
"ext/db.c",
"ext/record_pb.c",
"ext/shared_ring.c"],
library_dirs = ['/opt/local/lib'],
include_dirs=["ext",
"/opt/local/include"], # where macports installs protobuf
libraries=["protobuf-c", "sqlite3"],
extra_compile_args=extra_compile_args)],
entry_points={'console_scripts': ['pytrace=pytrace.__main__:main']})