diff --git a/.gitignore b/.gitignore index 4ec9553..debff4f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ dbm.* .DS_Store .vscode/ .vscode/settings.json -lib \ No newline at end of file +lib +*.venv diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..a08ffae --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.8.2 diff --git a/script/bootstrap b/script/bootstrap new file mode 100644 index 0000000..a27de63 --- /dev/null +++ b/script/bootstrap @@ -0,0 +1,10 @@ +#!/bin/bash + +pyenv install --skip-existing + +VENV="${PWD##*/}.venv" +VENV=${VENV#-} +python -m venv $VENV +. $VENV/bin/activate +python -m pip install -U pip wheel +python -m pip install -r requirements.txt