Skip to content

Commit

Permalink
Support venv initialization with python and python3
Browse files Browse the repository at this point in the history
  • Loading branch information
noreplydev committed Sep 22, 2024
1 parent 6bf96d9 commit cbe974d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"scripts": {
"python": "node run.js",
"start": "node run.js -m flask --app server run",
"prepare-dev": "python setup.py"
"prepare-dev": "shx which python3 && python3 setup.py || python setup.py"
},
"dependencies": {
"shx": "^0.3.4"
}
}
2 changes: 2 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28409,6 +28409,8 @@ __metadata:
"python@workspace:apps/python":
version: 0.0.0-use.local
resolution: "python@workspace:apps/python"
dependencies:
shx: "npm:^0.3.4"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit cbe974d

Please sign in to comment.