Skip to content
Snippets Groups Projects
Commit ccc41f06 authored by Jan Rinze Peterzon's avatar Jan Rinze Peterzon
Browse files

Task #8571: fix CMake requirements on python messaging library

parent 42c3cd43
No related branches found
No related tags found
No related merge requests found
# $Id: CMakeLists.txt 1584 2015-10-02 12:10:14Z loose $ # $Id: CMakeLists.txt 1584 2015-10-02 12:10:14Z loose $
lofar_add_package(PyCommon common) add_subdirectory(common)
lofar_add_package(PyMessaging messaging) add_subdirectory(messaging)
# $Id$ # $Id$
lofar_package(PyMessaging 1.0 DEPENDS PyCommon) #lofar_package(PyMessaging 1.0 DEPENDS PyCommon)
include(PythonInstall) include(PythonInstall)
...@@ -9,6 +9,8 @@ set(_py_files ...@@ -9,6 +9,8 @@ set(_py_files
exceptions.py exceptions.py
messagebus.py messagebus.py
messages.py messages.py
RPC.py
Service.py
) )
python_install(${_py_files} DESTINATION messaging) python_install(${_py_files} DESTINATION messaging)
......
...@@ -42,6 +42,7 @@ class Service(): ...@@ -42,6 +42,7 @@ class Service():
def __enter__(self): def __enter__(self):
self.Listen.open() self.Listen.open()
self.Reply.open() self.Reply.open()
return self
def __exit__(self, exc_type, exc_val, exc_tb): def __exit__(self, exc_type, exc_val, exc_tb):
self.Listen.close() self.Listen.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment