opt code for pyinstaller
This commit is contained in:
parent
5368daf344
commit
5bd556f138
@ -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/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user