Commit 3dbb96ce authored by Ivan Tyagov's avatar Ivan Tyagov

Feature/coupler opcua integration

See merge request nexedi/osie!12
parents ff0f5eb0 33d09fd1
This diff is collapsed.
...@@ -40,7 +40,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then ...@@ -40,7 +40,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# install required packages # install required packages
apt -yq update apt -yq update
apt -yq install python-wxgtk3.0 python-lxml python-is-python2 python-numpy build-essential python-dev-is-python2 mercurial autoconf bison flex python2 virtualenv python-lxml python-numpy libgtk-3-dev libgl1-mesa-dev libglu1-mesa-dev apt -yq install python-wxgtk3.0 python-lxml python-is-python2 python-numpy build-essential python-dev-is-python2 mercurial autoconf bison flex python2 virtualenv python-lxml python-numpy libgtk-3-dev libgl1-mesa-dev libglu1-mesa-dev
pip2 install pyro twisted nevow autobahn lxml opcua pip2 install pyro twisted nevow autobahn lxml opcua zeroconf==0.19.1
# Path preparation # Path preparation
LOCAL_HOME_DIR=/home/${SUDO_USER:-$(whoami)}/ LOCAL_HOME_DIR=/home/${SUDO_USER:-$(whoami)}/
...@@ -55,19 +55,23 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then ...@@ -55,19 +55,23 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# Build Matiec # Build Matiec
echo "Building Matiec." echo "Building Matiec."
cd $LOCAL_HOME_DIR/Beremiz/
hg clone https://hg.beremiz.org/matiec hg clone https://hg.beremiz.org/matiec
cd matiec/
autoreconf -i autoreconf -i
./configure ./configure
make -j make -j
pwd pwd
# Build Modbus # Build Modbus
echo "Building Modbus." echo "Building Modbus."
cd $LOCAL_HOME_DIR/Beremiz/
hg clone https://hg.beremiz.org/Modbus/ hg clone https://hg.beremiz.org/Modbus/
cd Modbus/
make make
echo "Beremiz is installed." echo "Beremiz is installed."
echo "Run $ python2 ~/Beremiz/Beremiz/Beremiz.py to open Beremiz" echo "Run $ python2 ~/Beremiz/beremiz/Beremiz.py to open Beremiz"
else else
......
File mode changed from 100644 to 100755
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment