Create pyflosetup.sh

This commit is contained in:
tripathyr 2024-10-29 09:31:25 +05:30 committed by GitHub
parent 6f50c3d03d
commit 67ff6a1748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

21
pyflosetup.sh Normal file
View File

@ -0,0 +1,21 @@
#!/bin/bash
# Run this setup file to install pyflo dependencies if pyflo is being installed
# Update package list
sudo apt update
# Install system dependencies
sudo apt install -y build-essential libssl-dev pkg-config python3.7-dev python3-setuptools
# Inform the user
echo "System dependencies installed successfully."
# Install Python packages
pip install --upgrade pip # Ensure pip is up-to-date
pip install --use-pep517 -r requirements.txt
git clone https://github.com/ranchimall/pyflo
sudo python3 pyflo/setup.py install
# Inform the user
echo "Python dependencies installed successfully."