This is an archive of the discontinued Mercurial Phabricator instance.

setup: configure py2exe config via environment variables
ClosedPublic

Authored by indygreg on Mar 8 2019, 1:49 PM.

Details

Summary

The Inno Setup and WiX installers ship a different set of packages
with py2exe builds. And there are multiple WiX installer variants
(e.g. TortoiseHG).

Since there are multiple variants of py2exe configs and they
can be defined by entities not in our repository, let's
provide a mechanism for setup.py to supplement behavior via
environment variables. This is slighly less hacky than a setup.cfg
file IMO since the caller doesn't need to worry about mutating
global state of the source directory.

Diff Detail

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

Event Timeline

indygreg created this revision.Mar 8 2019, 1:49 PM
This revision was automatically updated to reflect the committed changes.