Skip to content

Commit 22411a6

Browse files
authored
fix pipenv test (#219)
1 parent fc99d42 commit 22411a6

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

testdata/python/pipenv/plan.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"shell_init_hook": "echo \"Creating/Using virtual environment in testdata/python/pipenv/.venv\";\npython -m venv \"testdata/python/pipenv/.venv\";\nsource \"testdata/python/pipenv/.venv/bin/activate\";",
3+
"dev_packages": [
4+
"python310",
5+
"pipenv",
6+
"python3"
7+
],
8+
"runtime_packages": [
9+
"python310",
10+
"pipenv",
11+
"python3"
12+
],
13+
"install_stage": {
14+
"command": "python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt",
15+
"input_files": [
16+
"."
17+
]
18+
},
19+
"build_stage": {
20+
"command": "source .venv/bin/activate && \\\npip install pex && \\\nPACKAGE_NAME=$(python setup.py --name | tr '[:upper:]-' '[:lower:]_') && \\\npex . -o app.pex -m $PACKAGE_NAME -r requirements.txt"
21+
},
22+
"start_stage": {
23+
"command": "python ./app.pex",
24+
"input_files": [
25+
"app.pex"
26+
]
27+
}
28+
}

testdata/python/pipenv/requirements.txt

Whitespace-only changes.

testdata/python/pipenv/setup.py

Whitespace-only changes.

0 commit comments

Comments
 (0)