Skip to content

Commit 91a8a74

Browse files
committed
update setuptools to newest version (#45)
1 parent 6070df4 commit 91a8a74

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

installer/deb/laps4linux-client/DEBIAN/postinst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ DIR=/usr/share/laps4linux-client
1010

1111
# create system-wide venv and install python libraries via pip
1212
python3 -m venv --system-site-packages $DIR/venv
13+
$DIR/venv/bin/pip3 install --upgrade pip==25.0.0 setuptools==80.8.0
1314
$DIR/venv/bin/pip3 install --upgrade $DIR[barcode]
14-
$DIR/venv/bin/pip3 uninstall -y pip
15+
$DIR/venv/bin/pip3 uninstall -y pip setuptools
1516

1617
# register protocol scheme handler
1718
update-desktop-database

installer/deb/laps4linux-runner/DEBIAN/postinst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ DIR=/usr/share/laps4linux-runner
1010

1111
# create system-wide venv and install python libraries via pip
1212
python3 -m venv --system-site-packages $DIR/venv
13+
$DIR/venv/bin/pip3 install --upgrade pip==25.0.0 setuptools==80.8.0
1314
$DIR/venv/bin/pip3 install --upgrade $DIR
14-
$DIR/venv/bin/pip3 uninstall -y pip
15+
$DIR/venv/bin/pip3 uninstall -y pip setuptools

installer/rpm/rpmbuild/SPECS/laps4linux-client.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ if [[ "$(python3 --version)" == "Python 3.0"* ]] \
5353
fi
5454
fi
5555
$PYTHON_BIN -m venv --system-site-packages --clear $DIR/venv
56-
$DIR/venv/bin/pip3 install --upgrade pip==25.0.0
56+
$DIR/venv/bin/pip3 install --upgrade pip==25.0.0 setuptools==80.8.0
5757
$DIR/venv/bin/pip3 install --upgrade $DIR[barcode]
58-
$DIR/venv/bin/pip3 uninstall -y pip
58+
$DIR/venv/bin/pip3 uninstall -y pip setuptools
5959
if command -v update-desktop-database; then
6060
update-desktop-database
6161
fi

installer/rpm/rpmbuild/SPECS/laps4linux-runner.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ if [[ "$(python3 --version)" == "Python 3.0"* ]] \
5353
fi
5454
fi
5555
$PYTHON_BIN -m venv --system-site-packages --clear $DIR/venv
56-
$DIR/venv/bin/pip3 install --upgrade pip==25.0.0
56+
$DIR/venv/bin/pip3 install --upgrade pip==25.0.0 setuptools==80.8.0
5757
$DIR/venv/bin/pip3 install --upgrade $DIR
58-
$DIR/venv/bin/pip3 uninstall -y pip
58+
$DIR/venv/bin/pip3 uninstall -y pip setuptools
5959

6060

6161
%clean

0 commit comments

Comments
 (0)