Skip to content
FogLAMP "python3.5" Filter plugin: readings data transformation plugin using Python 3.5 code fragments supplied as part of the configuration.
Branch: develop
Clone or download
Singhal-Vaibhav Merge pull request #30 from foglamp/master
v1.6.0 release - master to develop
Latest commit 0655d13 May 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include FOGL-2207: Python35 reconfiguration in use Jan 11, 2019
packages/Debian
.gitignore build fixes for Ubuntu 18.04 Dec 21, 2018
CMakeLists.txt FOGL-2751: Update CMakeLists.txt to handle RHEL case also (#25) May 15, 2019
Description FOGL-2778: RPM/CentOS C++ plugin port (#27) May 15, 2019
FindFogLAMP.cmake FOGL-1821: FogLAMP filter with embedded Python 3.5 Sep 11, 2018
LICENSE
Package FOGL-2778: RPM/CentOS C++ plugin port (#27) May 15, 2019
README.rst Update README.rst Sep 13, 2018
VERSION
foglamp.version VERSION changed May 22, 2019
make_deb FOGL-2771 Add Coral package May 21, 2019
mkversion FOGL-2338 Support external VERSION file Jan 24, 2019
plugin.cpp FOGL-2717: Need to work with embedded python interpreter properly (#24) Apr 12, 2019
python35_filter.cpp FOGL-2561: Improve error messages in Python 3.5 (#21) Mar 7, 2019
readings35.py Update readings35.py Oct 3, 2018

README.rst

FogLAMP "Python35" C++ Filter plugin

A readings data transformation plugin using Python 3.5 embedded interpreter.

NOTE: Python3.5 development package is required.

Build

To build FogLAMP "python35" C++ filter plugin:

$ mkdir build
$ cd build
$ cmake ..
  • By default the FogLAMP develop package header files and libraries are expected to be located in /usr/include/foglamp and /usr/lib/foglamp
  • If FOGLAMP_ROOT env var is set and no -D options are set, the header files and libraries paths are pulled from the ones under the FOGLAMP_ROOT directory. Please note that you must first run 'make' in the FOGLAMP_ROOT directory.

You may also pass one or more of the following options to cmake to override this default behaviour:

  • FOGLAMP_SRC sets the path of a FogLAMP source tree
  • FOGLAMP_INCLUDE sets the path to FogLAMP header files
  • FOGLAMP_LIB sets the path to FogLAMP libraries
  • FOGLAMP_INSTALL sets the installation path of Random plugin
NOTE:
  • The FOGLAMP_INCLUDE option should point to a location where all the FogLAMP header files have been installed in a single directory.
  • The FOGLAMP_LIB option should point to a location where all the FogLAMP libraries have been installed in a single directory.
  • 'make install' target is defined only when FOGLAMP_INSTALL is set

Examples:

  • no options

    $ cmake ..

  • no options and FOGLAMP_ROOT set

    $ export FOGLAMP_ROOT=/some_foglamp_setup

    $ cmake ..

  • set FOGLAMP_SRC

    $ cmake -DFOGLAMP_SRC=/home/source/develop/FogLAMP ..

  • set FOGLAMP_INCLUDE

    $ cmake -DFOGLAMP_INCLUDE=/dev-package/include ..

  • set FOGLAMP_LIB

    $ cmake -DFOGLAMP_LIB=/home/dev/package/lib ..

  • set FOGLAMP_INSTALL

    $ cmake -DFOGLAMP_INSTALL=/home/source/develop/FogLAMP

    $ cmake -DFOGLAMP_INSTALL=/usr/local/foglamp

You can’t perform that action at this time.