Commit ed557015 authored by Yori's avatar Yori
Browse files

Now should install with setup.py, tests are passing.

parent 0546d0f2
Pipeline #718 failed with stage
before_script:
- python3 --version
- python3 -m pip --version
- python3 -m venv --version
- apt-get update -q -y
- apt-get install python3 python3-dev python3-tk -q -y
- python3 -m venv --python=python3.6 mplenv
- . mplenv/bin/activate
- pip install matplotlib
.install_with_setup:
before_script:
- python3 --version
- python3 -m pip --version
- python3 -m venv --version
- apt-get update -q -y
- apt-get install python3 python3-dev python3-tk -q -y
- python3 -m venv --python=python3.6 mplenv
- . mplenv/bin/activate
- pip install matplotlib
myplotlib_import_local_latex_tkagg:
dummy:
script:
- ls -l
- python --version
- which python
- which python3
- which pip
.myplotlib_import_local_latex_tkagg:
script:
- git name-rev --name-only HEAD
- ls -l
- cd test/localhost
- ./setup_test_folder.sh -r latex-tkagg
......
from .. import CONTEXT
if CONTEXT.lower() in ('local'):
#if CONTEXT.lower() in ('local'):
from .mpl_tools import usage
from .mpl_tools import print2file
from .mpl_tools import print2screen
from .mpl_tools import getCurrentWindowIDs
from .mpl_tools import getFigOnWindow
from .mpl_tools import getWindow
from .mpl_tools import printListCurrentWindows
from .mpl_tools import window_exists
from .mpl_tools import giveDataToWindow
from .mpl_tools import drawFigOnWindow
from .mpl_tools import closeAllWindows
from .mpl_tools import closeWindow
# from .mpl_tools import usage
# from .mpl_tools import print2file
# from .mpl_tools import print2screen
# from .mpl_tools import getCurrentWindowIDs
# from .mpl_tools import getFigOnWindow
# from .mpl_tools import getWindow
# from .mpl_tools import printListCurrentWindows
# from .mpl_tools import window_exists
# from .mpl_tools import giveDataToWindow
# from .mpl_tools import drawFigOnWindow
# from .mpl_tools import closeAllWindows
# from .mpl_tools import closeWindow
# from .figOneAxes import FigOneAxes
......
......@@ -2,7 +2,7 @@
# On the virtual local host
cd myplotlib
cp ../../../.configs/tests/rconfig-latex-tkagg.py rconfig.py
#cp ../../../.configs/tests/rconfig-latex-tkagg.py rconfig.py
find ../../../ -maxdepth 1 -name "*.py" -exec ln -s {} . \;
mkdir mpl_toolbox
......
......@@ -4,7 +4,7 @@ import sys
sys.path.append('../')
from clientside.myplotlib.signal import Signal, Query, Status, Answer
from clientside.myplotlib.mpl_signal import Signal, Query, Status, Answer
class SignalTestCase(unittest.TestCase):
......
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