Skip to content

Commit

Permalink
install dependencies in container
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed Mar 19, 2020
1 parent e66eb34 commit 72828db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name": "Python3.8",
"context": "..",
"image": "python:3",
"postCreateCommand": "pip install --no-cache-dir -r requirements.txt",

// Set *default* container specific settings.json values on container create.
"settings": {
Expand Down
4 changes: 2 additions & 2 deletions install_local.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# Install locally to test before uploading to PyPi
sudo python3 -m pip install -r requirements.txt --ignore-installed
python3 -m pip install -r requirements.txt --ignore-installed

rm -rf dist/*
./build.sh

sudo python3 -m pip install dist/$(ls dist) --upgrade
python3 -m pip install dist/$(ls dist) --upgrade

0 comments on commit 72828db

Please sign in to comment.