Build Python bindings with distutils for consistent installs
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 23 Aug 2017 15:43:05 +0000 (11:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 29 Aug 2017 21:47:59 +0000 (17:47 -0400)
commit1b8fb86234d51aff255b8e97435d4dbb3316eaec
treec094e7937729006a8b8bf27c3f16ef3bc79142a0
parent375d5f6a40f8021639019995c8dc8e6f190b7b55
Build Python bindings with distutils for consistent installs

This patch changes the build system used to compile and install the
Python Bindings. Distutils is used to find the right install directory.
When the install directory generated from the install prefix is not in
the Python search path (PYTHONPATH), we print a warning explaining what
can be done to include it.
It uses Distutils which is part of the Python standard library.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
105 files changed:
bindings/python/bt2/.gitignore
bindings/python/bt2/Makefile.am
bindings/python/bt2/__init__.py.in [deleted file]
bindings/python/bt2/bt2/__init__.py.in [new file with mode: 0644]
bindings/python/bt2/bt2/clock_class.py [new file with mode: 0644]
bindings/python/bt2/bt2/clock_class_priority_map.py [new file with mode: 0644]
bindings/python/bt2/bt2/component.py [new file with mode: 0644]
bindings/python/bt2/bt2/connection.py [new file with mode: 0644]
bindings/python/bt2/bt2/ctf_writer.py [new file with mode: 0644]
bindings/python/bt2/bt2/event.py [new file with mode: 0644]
bindings/python/bt2/bt2/event_class.py [new file with mode: 0644]
bindings/python/bt2/bt2/field_types.py [new file with mode: 0644]
bindings/python/bt2/bt2/fields.py [new file with mode: 0644]
bindings/python/bt2/bt2/graph.py [new file with mode: 0644]
bindings/python/bt2/bt2/logging.c [new file with mode: 0644]
bindings/python/bt2/bt2/logging.h [new file with mode: 0644]
bindings/python/bt2/bt2/logging.py [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btccpriomap.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btclockclass.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btcomponent.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btcomponentclass.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btconnection.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btctfwriter.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btevent.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bteventclass.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btfields.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btft.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btgraph.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btlogging.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btnotification.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btnotifiter.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btpacket.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btplugin.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btport.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btref.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btstream.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btstreamclass.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bttrace.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btvalues.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btversion.i [new file with mode: 0644]
bindings/python/bt2/bt2/notification.py [new file with mode: 0644]
bindings/python/bt2/bt2/notification_iterator.py [new file with mode: 0644]
bindings/python/bt2/bt2/object.py [new file with mode: 0644]
bindings/python/bt2/bt2/packet.py [new file with mode: 0644]
bindings/python/bt2/bt2/plugin.py [new file with mode: 0644]
bindings/python/bt2/bt2/port.py [new file with mode: 0644]
bindings/python/bt2/bt2/py_plugin.py [new file with mode: 0644]
bindings/python/bt2/bt2/stream.py [new file with mode: 0644]
bindings/python/bt2/bt2/stream_class.py [new file with mode: 0644]
bindings/python/bt2/bt2/trace.py [new file with mode: 0644]
bindings/python/bt2/bt2/utils.py [new file with mode: 0644]
bindings/python/bt2/bt2/values.py [new file with mode: 0644]
bindings/python/bt2/clock_class.py [deleted file]
bindings/python/bt2/clock_class_priority_map.py [deleted file]
bindings/python/bt2/component.py [deleted file]
bindings/python/bt2/connection.py [deleted file]
bindings/python/bt2/ctf_writer.py [deleted file]
bindings/python/bt2/event.py [deleted file]
bindings/python/bt2/event_class.py [deleted file]
bindings/python/bt2/field_types.py [deleted file]
bindings/python/bt2/fields.py [deleted file]
bindings/python/bt2/graph.py [deleted file]
bindings/python/bt2/logging.c [deleted file]
bindings/python/bt2/logging.h [deleted file]
bindings/python/bt2/logging.py [deleted file]
bindings/python/bt2/native_bt.i [deleted file]
bindings/python/bt2/native_btccpriomap.i [deleted file]
bindings/python/bt2/native_btclockclass.i [deleted file]
bindings/python/bt2/native_btcomponent.i [deleted file]
bindings/python/bt2/native_btcomponentclass.i [deleted file]
bindings/python/bt2/native_btconnection.i [deleted file]
bindings/python/bt2/native_btctfwriter.i [deleted file]
bindings/python/bt2/native_btevent.i [deleted file]
bindings/python/bt2/native_bteventclass.i [deleted file]
bindings/python/bt2/native_btfields.i [deleted file]
bindings/python/bt2/native_btft.i [deleted file]
bindings/python/bt2/native_btgraph.i [deleted file]
bindings/python/bt2/native_btlogging.i [deleted file]
bindings/python/bt2/native_btnotification.i [deleted file]
bindings/python/bt2/native_btnotifiter.i [deleted file]
bindings/python/bt2/native_btpacket.i [deleted file]
bindings/python/bt2/native_btplugin.i [deleted file]
bindings/python/bt2/native_btport.i [deleted file]
bindings/python/bt2/native_btref.i [deleted file]
bindings/python/bt2/native_btstream.i [deleted file]
bindings/python/bt2/native_btstreamclass.i [deleted file]
bindings/python/bt2/native_bttrace.i [deleted file]
bindings/python/bt2/native_btvalues.i [deleted file]
bindings/python/bt2/native_btversion.i [deleted file]
bindings/python/bt2/notification.py [deleted file]
bindings/python/bt2/notification_iterator.py [deleted file]
bindings/python/bt2/object.py [deleted file]
bindings/python/bt2/packet.py [deleted file]
bindings/python/bt2/plugin.py [deleted file]
bindings/python/bt2/port.py [deleted file]
bindings/python/bt2/py_plugin.py [deleted file]
bindings/python/bt2/setup.py.in [new file with mode: 0644]
bindings/python/bt2/stream.py [deleted file]
bindings/python/bt2/stream_class.py [deleted file]
bindings/python/bt2/trace.py [deleted file]
bindings/python/bt2/utils.py [deleted file]
bindings/python/bt2/values.py [deleted file]
configure.ac
tests/bindings/python/bt2/test_python_bt2.in
This page took 0.030421 seconds and 4 git commands to generate.