Changeset 6b7765


Ignore:
Timestamp:
May 19, 2021, 7:06:29 PM (4 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
7b1824
Parents:
999eaf
git-author:
Frederik Heber <frederik.heber@…> (04/19/19 20:43:12)
git-committer:
Frederik Heber <frederik.heber@…> (05/19/21 19:06:29)
Message:

Added small lib to capture stdout and stderr in jupyter.

  • we need to pipe output into a temporary file as otherwise it will only be printed in the console and not in the jupyter cells.
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • python/Makefile.am

    r999eaf r6b7765  
    1111
    1212if CONDPYTHON
    13 pyexec_LTLIBRARIES = pyMoleCuilder.la
     13pyexec_LTLIBRARIES = pyMoleCuilder.la pyMoleCuilder_capture.la
    1414pyMoleCuilder_la_SOURCES = \
    1515        cleanUp.cpp \
     
    3131        $(BOOST_PYTHON_LIB) \
    3232        ${CodePatterns_LIBS}
     33
     34pyMoleCuilder_capture_la_SOURCES = \
     35        ../src/Python/helper_c_capture.cpp
     36pyMoleCuilder_capture_la_CPPFLAGS = $(AM_CPPFLAGS) $(BOOST_PYTHON_CPPFLAGS)
     37pyMoleCuilder_capture_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_PYTHON_LDFLAGS) -module -version-info $(MOLECUILDER_SO_VERSION) -shared
     38pyMoleCuilder_capture_la_LIBADD = \
     39        $(BOOST_PYTHON_LIBS) \
     40        $(BOOST_PYTHON_LIB) \
     41        ${CodePatterns_LIBS}
    3342endif
    3443
  • src/Python/Makefile.am

    r999eaf r6b7765  
    2020        Python/PythonScripting.hpp
    2121
     22pkgpython_PYTHON = \
     23        Python/capture_c_contextmanager.py
    2224
    2325noinst_LTLIBRARIES += libMolecuilderPython.la
Note: See TracChangeset for help on using the changeset viewer.