Fix initial installation process
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>spacecruft
parent
f6829b658a
commit
96ee6f2448
|
@ -21,6 +21,7 @@ EXCLUDE_REGEXP="^\\(pkg[-_]resources\\|satnogs-db\\)"
|
||||||
COMPATIBLE_REGEXP="^\\(satnogs-decoders\\)"
|
COMPATIBLE_REGEXP="^\\(satnogs-decoders\\)"
|
||||||
VIRTUALENV_DIR=$(mktemp -d)
|
VIRTUALENV_DIR=$(mktemp -d)
|
||||||
PIP_COMMAND="$VIRTUALENV_DIR/bin/pip"
|
PIP_COMMAND="$VIRTUALENV_DIR/bin/pip"
|
||||||
|
PYTHON_VERSION="3.9"
|
||||||
REQUIREMENTS="
|
REQUIREMENTS="
|
||||||
comm
|
comm
|
||||||
grep
|
grep
|
||||||
|
@ -45,7 +46,7 @@ if [ -n "$has_missing" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create virtualenv
|
# Create virtualenv
|
||||||
virtualenv "$VIRTUALENV_DIR"
|
virtualenv -p python$PYTHON_VERSION "$VIRTUALENV_DIR"
|
||||||
|
|
||||||
# Install package with dependencies
|
# Install package with dependencies
|
||||||
"$PIP_COMMAND" install --no-cache-dir --force-reinstall .
|
"$PIP_COMMAND" install --no-cache-dir --force-reinstall .
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["setuptools", "wheel"]
|
Loading…
Reference in New Issue