Skip to content

Commit 9b62512

Browse files
committed
Update install.sh to ensure Python dependencies are upgraded during installation and remove local package installation for meshcore.
1 parent b80e3e5 commit 9b62512

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

install.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,8 +1509,8 @@ main() {
15091509
print_info "Installing Python dependencies..."
15101510
source "$INSTALL_DIR/venv/bin/activate"
15111511
pip install --quiet --upgrade pip
1512-
pip install --quiet -r "$INSTALL_DIR/requirements.txt"
1513-
# meshcore is now installed from PyPI via requirements.txt
1512+
pip install --quiet --upgrade -r "$INSTALL_DIR/requirements.txt"
1513+
# meshcore is now installed from PyPI via requirements.txt and will be upgraded on reinstall
15141514
print_success "Python dependencies installed"
15151515

15161516
# Check for meshcore-decoder (optional)
@@ -2101,8 +2101,7 @@ RUN pip install --no-cache-dir -r requirements.txt
21012101
# Copy the entire project
21022102
COPY . .
21032103
2104-
# Install the local meshcore package in development mode
2105-
RUN pip install -e ./meshcore_py
2104+
# meshcore is now installed from PyPI via requirements.txt (no local package needed)
21062105
21072106
# Create non-root user for security
21082107
RUN useradd -m -u 1000 meshcore && chown -R meshcore:meshcore /app

0 commit comments

Comments
 (0)