Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Change how requirements.txt is handled
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Aug 9, 2019
1 parent 46c43c8 commit 3058f46
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
5 changes: 3 additions & 2 deletions containers/python-3-postgres/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"--noreload",
"--nothreading"
],
"django": true
"django": true,
"preLaunchTask": "pip install"
}
]
}
}
10 changes: 10 additions & 0 deletions containers/python-3-postgres/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "pip install",
"type": "shell",
"command": "pip install -r ./test-project/requirements.txt"
}
]
}
2 changes: 0 additions & 2 deletions containers/python-3-postgres/requirements.txt

This file was deleted.

3 changes: 2 additions & 1 deletion containers/python-3-postgres/test-project/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Django
Django
psycopg2-binary

0 comments on commit 3058f46

Please sign in to comment.