Skip to content

Commit a60faa7

Browse files
committed
Added warning for import error yaml - use venv before use.
1 parent 4862086 commit a60faa7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Diff for: scratchablock/install

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
#!/bin/bash -ex
22

3-
ctf-tools-pip3 install --upgrade nose
4-
ctf-tools-pip3 install --upgrade pyyaml
3+
#move to ctftools virtual env - warning you'll have to activate the
4+
#virtualenv to use the scripts unless you install the pypl packages
5+
#outside the venv for Python 3
6+
source ctf-tools-venv-activate3
7+
8+
pip install --upgrade nose
9+
pip install --upgrade pyyaml
510

611
git clone --recursive https://github.com/pfalcon/ScratchABlock
7-
source ctf-tools-venv-activate3
812

913
mkdir -p bin
1014
cd bin

Diff for: scratchablock/uninstall

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash -ex
22

33
ctf-tools-pip3 uninstall -y nose || true
4+
ctf-tools-pip3 uninstall -y pyyaml || true

0 commit comments

Comments
 (0)