FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
deta-python/scripts/install at master · deta/deta-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Oct 22, 2024. It is now read-only.
deta
/
deta-python
Public archive
Notifications
You must be signed in to change notification settings
Fork
24
Star
152
Code
Issues
2
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
deta-python
/
scripts
/
install
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
20 lines (14 loc) · 360 Bytes
Breadcrumbs
deta-python
/
scripts
/
install
Copy path
File metadata and controls
executable file
·
20 lines (14 loc) · 360 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!
/bin/sh -e
#
Use the Python executable provided from the `-p` option, or a default.
[
"
$1
"
=
"
-p
"
]
&&
PYTHON=
$2
||
PYTHON=
"
python3
"
REQUIREMENTS=
"
requirements.txt
"
VENV=
"
venv
"
#
set -x
if
[
-z
"
$GITHUB_ACTIONS
"
]
;
then
"
$PYTHON
"
-m venv
"
$VENV
"
PIP=
"
$VENV
/bin/pip
"
else
PIP=
"
pip
"
fi
"
$PIP
"
install -r
"
$REQUIREMENTS
"
sudo apt-get install gh
Back
|
FazBrowse Home
|
New Git URL