File: activate.sh

package info (click to toggle)
nipype 1.9.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,260 kB
  • sloc: python: 156,463; javascript: 9,246; tcl: 608; sh: 485; makefile: 168
file content (9 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
if [ -e virtenv/bin/activate ]; then
    source virtenv/bin/activate
elif [ -e virtenv/Scripts/activate ]; then
    source virtenv/Scripts/activate
else
    echo Cannot activate virtual environment
    ls -R virtenv
    false
fi