diff --git a/.gitattributes b/.gitattributes index 8b18399fb19dff650b7fc3b9242aa12ad8788943..d25f602a58e918d6138166bf24ff138ee6c39363 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2426,6 +2426,7 @@ LCS/MSLofar/test/tBeamTables.in_hd/RS106-iHBADeltas.conf -text LCS/MessageBus/src/LofarMsgTemplate.txt -text LCS/MessageBus/src/Message.cc -text LCS/MessageBus/src/MsgBus.py -text +LCS/MessageBus/src/__init__.py -text LCS/MessageBus/test/tMessage.cc -text LCS/MessageBus/test/tMsgBus.cc -text LCS/Stream/include/Stream/SocketStream.tcc -text diff --git a/LCS/MessageBus/src/CMakeLists.txt b/LCS/MessageBus/src/CMakeLists.txt index c5af1a84c888b445480de25420021142d7085a5f..2df0f3a5168b4ccc000e52cb61991b7557d82ff4 100644 --- a/LCS/MessageBus/src/CMakeLists.txt +++ b/LCS/MessageBus/src/CMakeLists.txt @@ -1,6 +1,8 @@ # $Id$ include(LofarPackageVersion) +include(PythonInstall) + set(messagebus_LIB_SRCS Package__Version.cc @@ -15,3 +17,8 @@ lofar_add_library(messagebus ${messagebus_LIB_SRCS}) foreach(prog ${messagebus_PROGRAMS}) lofar_add_bin_program(${prog} ${prog}.cc) endforeach(prog ${messagebus_PROGRAMS}) + +python_install( + __init__.py + MsgBus.py + DESTINATION MessageBus/) \ No newline at end of file diff --git a/LCS/MessageBus/src/__init__.py b/LCS/MessageBus/src/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..f7b77e4847d20c258b198f06f1baef1304eb3612 --- /dev/null +++ b/LCS/MessageBus/src/__init__.py @@ -0,0 +1,19 @@ +# Copyright (C) 2012-2013 ASTRON (Netherlands Institute for Radio Astronomy) +# P.O. Box 2, 7990 AA Dwingeloo, The Netherlands +# +# This file is part of the LOFAR software suite. +# The LOFAR software suite is free software: you can redistribute it and/or +# modify it under the terms of the GNU General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# The LOFAR software suite is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with the LOFAR software suite. If not, see <http://www.gnu.org/licenses/>. +# +# $Id: __init__.py 29911 2014-08-12 14:45:14Z klijn $ +all