This is caused by the creation of a semi-autonomous version containing symbolic links to the originally installed files, and, as you say, links are lost when zipping / unzipping, if only -y . "
An alternative solution is to create instead of a standalone one that places (public) files inside the application and thus saves zipping / unzipping, etc. better. It also means that the application is more resistant to changes in the underlying OS. The disadvantage is that it is, of course, more and more difficult to configure it.
To create a standalone version, you need to install a python.org version that you can repackage. An explanation of how to do this is here , but read the comments, as there have been some changes since writing the blog post.
sthartle
source share