Skip to content
Snippets Groups Projects
Commit fe89d570 authored by mehtank's avatar mehtank
Browse files

Locally installed virtualenv for development

parent 6851a957
No related merge requests found
#!/bin/bash
unset PYTHONPATH
if [ ! -d "ENV" ]; then
python3 -m virtualenv -p python3 ENV &&
source ENV/bin/activate &&
pip3 install -r requirements.txt &&
pip3 install -e .
fi
alias deactivate=exit
exec bash --init-file <(echo ". ~/.bashrc; . ENV/bin/activate;")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment