mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
patch old setuptools for python 3.12 for github workflow
This commit is contained in:
parent
a7bb40f530
commit
e8e5bf5d81
2 changed files with 29 additions and 4 deletions
|
|
@ -80,10 +80,11 @@ echo "Creating sdist..."
|
|||
python3 -W ignore -c 'from setuptools import *;setup()' --quiet sdist --formats=tar
|
||||
|
||||
tar --delete --file "dist/$name-$version.tar" \
|
||||
"$name-$version/setup.cfg" \
|
||||
"$name-$version/pyproject.toml" \
|
||||
"$name-$version/$name.egg-info" \
|
||||
"$name-$version/PKG-INFO"
|
||||
$(tar tf "dist/$name-$version.tar" | grep -F \
|
||||
"$name-$version/setup.cfg
|
||||
$name-$version/pyproject.toml
|
||||
$name-$version/$name.egg-info
|
||||
$name-$version/PKG-INFO")
|
||||
|
||||
echo "Zipping..."
|
||||
xz -k "dist/$name-$version.tar"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue