source_me.sh 184 Bytes
Newer Older
Thom Wiggers's avatar
Thom Wiggers committed
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo "run me as 'source ./source_me.sh', not as './source_me.sh'!"

if [ -d venv ]; then
    source venv/bin/activate
else
    pyvenv venv
    source venv/bin/activate
fi