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

Commit 3058f46

Browse files
committed
Change how requirements.txt is handled
1 parent 46c43c8 commit 3058f46

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

containers/python-3-postgres/.vscode/launch.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"--noreload",
1717
"--nothreading"
1818
],
19-
"django": true
19+
"django": true,
20+
"preLaunchTask": "pip install"
2021
}
2122
]
22-
}
23+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "pip install",
6+
"type": "shell",
7+
"command": "pip install -r ./test-project/requirements.txt"
8+
}
9+
]
10+
}

containers/python-3-postgres/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Django
1+
Django
2+
psycopg2-binary

0 commit comments

Comments
 (0)