Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Yori Fournier
myplotlib
Commits
ed557015
Commit
ed557015
authored
Sep 30, 2019
by
Yori
Browse files
Now should install with setup.py, tests are passing.
parent
0546d0f2
Pipeline
#718
failed with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ed557015
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
...
...
myplotlib/mpl_toolbox/__init__.py
View file @
ed557015
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
...
...
myplotlib/test/localhost/setup_test_folder.sh
View file @
ed557015
...
...
@@ -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
...
...
myplotlib/test/network/tests/test_signal.py
View file @
ed557015
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment