Thanks Hartmut - it's good to know what is possible and what is not. I don't mind having to solve this problem directly - what I was really afraid of was that there was a really simple solution that I was missing through ignorance.
So I have two strategies to follow, possibly simultaneously: 1) Automate identifying dependencies (otools -L ...) and changing internal dependency links (install_name_tool -change ...) - probably adding new Python to the spec file. I can think of a number of ways of doing this. If I come up with a good solution I will certainly share it to help others in the same position. 2) Trying to bake dependencies into larger binaries that have no dependencies other than OS standard libraries. Before I investigate this option further,*does anyone have any pointers or tips?* My initial searching has not identified anything useful but that is quite possibly because of my lack of background in this area. All the best, Grant On 06/03/15 00:53, Hartmut Goebel wrote: > Am 04.03.2015 um 12:13 schrieb Grant Paton-Simpson: >> *QUESTION 2: Am I wrong in expecting pyinstaller to make the changes >> described above (automatically adding dependencies and ensuring files >> can link to them)?* > > We have no plans implementing such a thing. > > But since the .spec-files are simply python code, you can implement > code for this, Search PyInstaller/build.py for "bindepend" to find an > example. I do not know if this works, though. > > -- > Schönen Gruß > Hartmut Goebel > Dipl.-Informatiker (univ), CISSP, CSSLP > Information Security Management, Security Governance, Secure Software > Development > > Goebel Consult, Landshut > http://www.goebel-consult.de > > Blog: > http://www.goebel-consult.de/blog/view-your-certificates-email-address-0.3.0-published > > Kolumne: > http://www.cissp-gefluester.de/2010-11-it-sicherheit-im-unternehmen-eine-interne-oder-externe-angelegenheit > > > -- > You received this message because you are subscribed to the Google > Groups "PyInstaller" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/pyinstaller. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
