Pavan2k4 commited on
Commit
b3ce201
·
verified ·
1 Parent(s): 43d3c40

Delete build.sh

Browse files
Files changed (1) hide show
  1. build.sh +0 -30
build.sh DELETED
@@ -1,30 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Update package list
4
- sudo apt update
5
-
6
- # Install GDAL and its development files
7
- sudo apt install -y gdal-bin libgdal-dev
8
-
9
- # Install Python3 development files
10
- sudo apt install -y python3-dev
11
-
12
- # Get GDAL version
13
- GDAL_VERSION=$(gdal-config --version)
14
-
15
- # Install GDAL for pip with the matching version
16
- pip install GDAL==$GDAL_VERSION
17
-
18
- # Install other required packages
19
- pip install streamlit
20
-
21
- # Create a Python script to test the installation
22
- cat << EOF > test_osgeo.py
23
- import streamlit as st
24
- from osgeo import gdal
25
-
26
- st.write(f"GDAL version: {gdal.__version__}")
27
- EOF
28
-
29
- # Run the test script
30
- streamlit run test_osgeo.py