-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdev-setup.sh
More file actions
executable file
·21 lines (16 loc) · 806 Bytes
/
Copy pathdev-setup.sh
File metadata and controls
executable file
·21 lines (16 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
# this is meant to be done after a full conda install (or setting up all dependencies)
## making sure we are in the bit-dev conda environment
if [ "${CONDA_DEFAULT_ENV}" != "bit-dev" ]; then
printf "\n This should be run in the 'bit-dev' conda environment..\n"
printf " You know this, Mike...\n\n"
return 1 2>/dev/null || exit 1
fi
rm -rf build/ bit.egg-info/
pip install --no-build-isolation -e .
if command -v register-python-argcomplete >/dev/null 2>&1; then
eval "$(register-python-argcomplete bit)"
fi
## if changing conda versions and wanting to install locally entirely (rather than using a prior official conda install of bit)
# conda build -c conda-forge -c bioconda conda-recipe/
# conda create -n bit-dev -c conda-forge -c bioconda --use-local bit