Commit 4f45c43a authored by Yori Fournier's avatar Yori Fournier
Browse files

add the localhost testing with the import test

parent 9ed622f0
# 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 {} . \;
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