develop #2
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
#include "PyScModule.h"
|
#include "PyScModule.h"
|
||||||
#define PY_SSIZE_T_CLEAN
|
#define PY_SSIZE_T_CLEAN
|
||||||
#include <python3.6/Python.h>
|
#include <Python.h>
|
||||||
|
|
||||||
class TPyScriptThreadLocker {
|
class TPyScriptThreadLocker {
|
||||||
PyGILState_STATE m_state;
|
PyGILState_STATE m_state;
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -18,7 +18,7 @@ pysyscsc = Extension('pysyscsc',
|
||||||
extra_compile_args = ['-std=c++11'],
|
extra_compile_args = ['-std=c++11'],
|
||||||
include_dirs = [sysc_home+'/include'],
|
include_dirs = [sysc_home+'/include'],
|
||||||
libraries = ['systemc'],
|
libraries = ['systemc'],
|
||||||
library_dirs = [sysc_home+'/lib'],
|
library_dirs = [sysc_home+'/lib64', sysc_home+'/lib'],
|
||||||
sources = ['PyScModule.cpp'],
|
sources = ['PyScModule.cpp'],
|
||||||
depends = ['PyScModule.h'])
|
depends = ['PyScModule.h'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue