Commit e29e7c0a authored by Philipp Gast's avatar Philipp Gast
Browse files

Merge branch '63-cleaning-server-client-renovation' of...

Merge branch '63-cleaning-server-client-renovation' of gitlab:yfournier/myplotlib into 63-cleaning-server-client-renovation
parents ad9d2ded b19e1c0b
Pipeline #398 failed with stage
in 1 minute and 24 seconds
myplotlib_server_client:
script:
- apt-get update -q -y
- apt-get install python-dev -q -y
- wget https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- python -m pip --version
- python -m pip install --upgrade pip
- python -m pip install -U matplotlib
- git clone git@gitlab.aip.de:yfournier/myplotlib.git -b 63-cleaning-server-client-renovation myplotlib
- cd myplotlib/test/localhost
- ./setup_test_folder.sh
- python import_test.py
- ./clean_test_folder.sh
# Destroy the symbolic links
# On the server side
cd myplotlib
# save the config
mv config.py config.save
find . -maxdepth 1 -name "*.py" -exec unlink {} \;
# recover theconfig
mv config.save config.py
import sys
sys.path.insert(0, './')
import myplotlib as mpl
from .myData import MyData
# TECHNICAL ------------------------------------------------------------
D_VERSION='v5'
D_HIERARCHY='LOCAL'
D_HOST='localhost'
D_PORT=50803
# FORM -----------------------------------------------------------------
INFO = " > info-: "
WARN = " > warn-: "
SEVR = " > sevr-: "
DBUG = " > dbug-: "
SPCE = " > -----: "
# CONFIGURATION --------------------------------------------------------
# myFig
D_FIGNUM = 0 # default figure number
D_FIGSIZE = (8., 6.) # default figure size
D_REFORMAT = True # default reformat value
D_FORMATTED = False # default formatted value
D_RAWDATA = MyData() # default raw data
D_INPUTARG = 'current' # default Input argument
# myIOs
D_IPATH = '../' # default path to project
# print2file
D_OPATH = 'myplotlib/img/' # default path to ouput
D_OFORMAT = 'png' # default format for ouput
# Debug
D_DEBUG = True # default debug value
# create the necessary links to run the tests
# On the virtual local host
cd myplotlib
find ../../../ -maxdepth 1 -name "*.py" -exec ln -s {} . \;
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