Debian Codegraph @

.devcontainer/postCreateCommand.sh

raw symbols SCIP
1 #!/bin/sh -x
2
3 brew install asdf
4 brew install hatch
5 source "$(brew --prefix asdf)/libexec/asdf.sh"
6
7 # Install latest python
8 asdf plugin add python
9 asdf install python 3.11.0
10 asdf global python 3.11.0
11
12 # You can easily install other python versions like so:
13 # asdf install python 3.6.15
14 # asdf install python 3.7.15
15 # asdf install python 3.8.15
16 # asdf install python 3.9.15
17 # asdf install python 3.10.8
18 # asdf install python pypy3.9-7.3.9
19
20 # Setup virtualenv, install all dependencies
21 cd /workspaces/gitlint
22 $(asdf which python) -m venv .venv
23 source .venv/bin/activate
24 pip install -r requirements.txt -r test-requirements.txt -r doc-requirements.txt