You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
569 B

#!/usr/bin/env bash
# where the source for cjs and cjsd are located
CJS_DIR="./cjs"
CJSD_DIR="./cjsd"
# where the virtual environment will be located
CJS_ENV="$CJS_DIR/.env"
CJSD_ENV="$CJSD_DIR/.env"
# create a virtual environment and activate it
#virtualenv -p python3 "$CJS_ENV"
#source "$CJS_ENV/bin/activate"
## install the necessary software
#pip install -e "$CJS_DIR"
## deactivate the virtual environment
#deactivate
virtualenv -p python3 "$CJSD_ENV"
source "$CJSD_ENV/bin/activate"
pip install -e "$CJSD_DIR"
# deactivate the virtual environment
deactivate