1+
2+ tasks :
3+ - name : Python Env
4+ before : pyenv install 3.11.0rc2 # install specific version of python
5+ init : | # 'pythonenv' is an arbitrary name
6+ pyenv local 3.11.0rc2
7+ alias python=python3
8+ python -m pip install pip==22.3.1
9+ alias pip=pip3
10+ pip install notebook==6.5.2 nbdev==2.3.9 matplotlib==3.6.2 pandas==1.5.1 plotly==5.11.0 fastcore==1.5.27
11+ nbdev_install_quarto
12+ gp sync-done pythonenv
13+ command : python --version && pip --version
14+
15+ - name : Python GUI
16+ init : | # 'pythongui' is an arbitrary name
17+ gp sync-await pythonenv
18+ pyenv local 3.11.0rc2
19+ pip install pyqt5==5.15.7 wxPython==4.2.0
20+ gp sync-done pythongui
21+ command : python --version && pip --version
22+
23+ - name : Python OpenBB
24+ init : | # 'pythonopenbb' is an arbitrary name
25+ gp sync-await pythongui
26+ pyenv local 3.11.0rc2
27+ pip install openbb==2.0.0 "openbb[all]"
28+ gp sync-done pythonopenbb
29+ command : python --version && pip --version
30+
31+ - name : Test Python Env # wait for the above 'init' to finish
32+ init : |
33+ gp sync-await pythonopenbb
34+ pyenv local 3.11.0rc2
35+ command : python -m pip list --outdated --format columns # list outdated python packages with column formatting
36+
37+
38+ # List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
39+ ports :
40+ - port : 3000
41+ onOpen : open-preview
42+
43+ github :
44+ prebuilds :
45+ # enable for the master/default branch (defaults to true)
46+ master : true
47+ # enable for all branches in this repo (defaults to false)
48+ branches : true
49+ # enable for pull requests coming from this repo (defaults to true)
50+ pullRequests : true
51+ # enable for pull requests coming from forks (defaults to false)
52+ pullRequestsFromForks : true
53+ # add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
54+ addComment : true
55+ # add a "Review in Gitpod" button to pull requests (defaults to false)
56+ addBadge : false
57+ # add a label once the prebuild is ready to pull requests (defaults to false)
58+ addLabel : prebuilt-in-gitpod
59+
60+
61+ vscode :
62+ extensions :
63+ - almenon.arepl
64+ - quarto.quarto
65+ - ms-azuretools.vscode-docker
66+ - ms-python.python
67+ - ms-toolsai.jupyter-renderers
68+ - ms-toolsai.jupyter
69+ - eamodio.gitlens
0 commit comments