Python: decouple Python iface from native binding
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 12 Feb 2015 19:56:52 +0000 (14:56 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 13 Feb 2015 17:07:00 +0000 (12:07 -0500)
commit6fd496988ec91b1e5964bcb9c46f62288c75580c
treed6d0e6dfbe7dec9fe7717e3f1501157df0bb31e4
parent9a220c32dde6dc2a6a6950c470cff957e630e494
Python: decouple Python iface from native binding

With this patch, all the SWIG stuff is isolated into
nativebt.i, whereas the real Babeltrace Python interface
is plain Python in bt.py.

The Babeltrace Python binding is now a Python package, but
backward compatibility with the original module is ensured
by importing all public symbols from the bt module in the
package itself (__init__.py), which is named like the
original module, babeltrace.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
.gitignore
bindings/python/Makefile.am
bindings/python/__init__.py.in [new file with mode: 0644]
bindings/python/babeltrace.i.in [deleted file]
bindings/python/bt.py [new file with mode: 0644]
bindings/python/nativebt.i [new file with mode: 0644]
This page took 0.024349 seconds and 4 git commands to generate.