opt code for pyinstaller

This commit is contained in:
薄皮小笼包 2020-08-31 22:22:04 +08:00 committed by Gitee
parent 5368daf344
commit 5bd556f138

View File

@ -56,7 +56,7 @@ else
exit
fi
$path -F pkgship.p
$path -F pkgship.py
sed -i "s/hiddenimports\=\[\]/hiddenimports\=\['pkg_resources.py2_warn'\]/g" pkgship.spec
$path pkgship.spec
cp dist/pkgship /usr/bin/