Skip to content

Commit

Permalink
chore: fix up for missing deps, faster setup
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Jul 22, 2024
1 parent 6159541 commit 9ecbd98
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"cpus": 2
},
"waitFor": "onCreateCommand",
"updateContentCommand": {
"Installing apt packages": "sudo apt-get -yqq update && sudo apt-get install -yqq python3-pip python3-xrootd"
"onCreateCommand": {
"Installing uv": "curl -LsSf https://astral.sh/uv/install.sh | sh",
"Install Python": "sudo apt-get -yqq update && sudo apt-get install -yqq python3-dev python3-xrootd"
},
"postCreateCommand": {
"Installing python packages": "python3 -m pip install -r requirements.txt"
"Installing Python packages": "sudo env PATH=$PATH uv pip install --system --break-system-packages -r requirements.txt pip 2>&1"
},
"customizations": {
"codespaces": {
Expand Down
5 changes: 3 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: software-carpentries-scikit-hep-tutorial
channels:
- conda-forge
dependencies:
- aiohttp
- fastjet
- fsspec-xrootd
- jupyterlab
- lz4
- matplotlib
Expand All @@ -17,5 +20,3 @@ dependencies:
- xrootd
- zfit
- zstandard
- pip:
- fastjet
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
aiohttp
fastjet
fsspec-xrootd
lz4
matplotlib
nlopt
Expand Down

0 comments on commit 9ecbd98

Please sign in to comment.