Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
export INTROOT=~/workspace/introot
export PYTHONPATH=$INTROOT/lib/python/site-packages:/alma/ACS-2021OCT/ACSSW/lib/python/site-packages
make all install

Testing

Create client python file:

Code Block
languagebash
cd ~/workspace
touch client.py
vim client.py

We fill it as follow:

Code Block
languagepy
title~/workspace/client.py
from Acspy.Clients.SimpleClient import PySimpleClient
 
client = PySimpleClient()
 
hc_py = client.getComponent("PY_HELLO_COMP")
print(hc_py.printHello())

Run client:

Code Block
languagebash
python client.py

Example output:

Code Block
...
Hello World!
...