mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Install wheel before NetBox dependencies
This commit is contained in:
parent
5950bedfae
commit
17c76e413d
@ -102,7 +102,3 @@ redis
|
|||||||
# SVG image rendering (used for rack elevations)
|
# SVG image rendering (used for rack elevations)
|
||||||
# https://github.com/mozman/svgwrite
|
# https://github.com/mozman/svgwrite
|
||||||
svgwrite
|
svgwrite
|
||||||
|
|
||||||
# Python package management tool
|
|
||||||
# https://pythonwheels.com/
|
|
||||||
wheel
|
|
||||||
|
@ -24,4 +24,3 @@ pycryptodome==3.9.4
|
|||||||
PyYAML==5.3
|
PyYAML==5.3
|
||||||
redis==3.3.11
|
redis==3.3.11
|
||||||
svgwrite==1.3.1
|
svgwrite==1.3.1
|
||||||
wheel==0.34.2
|
|
||||||
|
@ -29,9 +29,14 @@ eval $COMMAND || {
|
|||||||
# Activate the virtual environment
|
# Activate the virtual environment
|
||||||
source "${VIRTUALENV}/bin/activate"
|
source "${VIRTUALENV}/bin/activate"
|
||||||
|
|
||||||
|
# Install necessary system packages
|
||||||
|
COMMAND="pip3 install wheel"
|
||||||
|
echo "Installing Python system packages ($COMMAND)..."
|
||||||
|
eval $COMMAND || exit 1
|
||||||
|
|
||||||
# Install Python packages
|
# Install Python packages
|
||||||
COMMAND="pip3 install -r requirements.txt"
|
COMMAND="pip3 install -r requirements.txt"
|
||||||
echo "Installing Python packages ($COMMAND)..."
|
echo "Installing dependencies ($COMMAND)..."
|
||||||
eval $COMMAND || exit 1
|
eval $COMMAND || exit 1
|
||||||
|
|
||||||
# Apply any database migrations
|
# Apply any database migrations
|
||||||
|
Loading…
Reference in New Issue
Block a user