diff options
author | Guido van Rossum <guido@python.org> | 1998-03-04 18:12:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-03-04 18:12:39 (GMT) |
commit | f888350dec14dae1879b1dd0d85616440be9af03 (patch) | |
tree | 34c74861cff6372799f25476badfc55b593f6883 /Tools/freeze/freeze.py | |
parent | c7e76c885b2ad2796fd12ede9904d250d28d28fb (diff) | |
download | cpython-f888350dec14dae1879b1dd0d85616440be9af03.zip cpython-f888350dec14dae1879b1dd0d85616440be9af03.tar.gz cpython-f888350dec14dae1879b1dd0d85616440be9af03.tar.bz2 |
Untested changes to make the '-s windows' option
work on Windows.
Diffstat (limited to 'Tools/freeze/freeze.py')
-rwxr-xr-x | Tools/freeze/freeze.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index b584ec5..181e845 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -240,6 +240,9 @@ def main(): outfp = open(frozen_c, 'w') try: makefreeze.makefreeze(outfp, dict) + if win and subsystem == 'windows': + import winmakemakefile + outfp.write(winmakemakefile.WINMAINTEMPLATE) finally: outfp.close() if backup: |