This is an archive of the discontinued Mercurial Phabricator instance.

pyoxidizer: default to one-file binary on non-Windows platforms

Authored by durin42 on Nov 10 2020, 1:16 PM.



Windows has some extra constraints that require a multi-file install,
but we expect folks to use an MSI or similar installer there so it's
less of a big deal.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Nov 10 2020, 1:16 PM
indygreg accepted this revision.Nov 10 2020, 8:47 PM
indygreg added a subscriber: indygreg.

I think this should work.

Before we ship this configuration to end users as part of our official distributions, I think we should figure out a story around enabling users to modify templates. The workflow today is "copy the templates files from your install directory." We need to provide a command for accessing the Python resource data embedded in the binary in the absence of these files.

This revision is now accepted and ready to land.Nov 10 2020, 8:47 PM