Commit fd51b5a9 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Remove mscc/mscedit install scripts

parent 887e0818
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/
# Install tools necesarry for Mscc compilation
sudo apt-get install -y mono-devel mono-xbuild || exit 1
# Compile Mscc
pushd "${DIR}/../mscc" >/dev/null
git submodule update --init
make release
# Move binaries to the installation folder
mkdir -p ${PREFIX}/share/mscc/ || exit 1
mv bin/Release/* "${PREFIX}/share/mscc/"
popd >/dev/null
cd ${PREFIX}/share/ || exit 1
# Add to PATH
PATH_CMD='export PATH=$PATH:'"${PREFIX}/share/mscc/"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. ${DIR}/
# Install development tools to compile (pyside-rcc)
# Note: Opengeode does not need this, because they check in
# all temporary files into the repo. These have been ignored in
# mscedit2, therefore they need to be compiled explicitly.
sudo apt-get install -y pyside-tools || exit 1
cd $DIR/../mscedit2 || exit 1
pip2 install --user --upgrade . || exit 1
# Add .local/bin to PATH
PATH_CMD='export PATH=$PATH:$HOME/.local/bin'
Supports Markdown
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