Private
Public Access
2
0

python: Python native library now links to libmraa.so

Implementation is similar to approach taken for Java.

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Henry Bruce
2016-02-26 13:51:44 -08:00
committed by Brendan Le Foll
parent 44b2367fdc
commit bc1c3469f5
6 changed files with 133 additions and 17 deletions

View File

@@ -99,13 +99,6 @@ mraa_init()
syslog(LOG_NOTICE, "libmraa version %s initialised by user '%s' with EUID %d",
mraa_get_version(), (proc_user != NULL) ? proc_user->pw_name : "<unknown>", proc_euid);
#ifdef SWIGPYTHON
// Initialise python threads, this allows use to grab the GIL when we are
// required to do so
Py_InitializeEx(0);
PyEval_InitThreads();
#endif
mraa_platform_t platform_type;
#if defined(X86PLAT)
// Use runtime x86 platform detection