Guido van Rossum
baf0603493
New version, with contributions from Sjoerd Mullender and Mark Hammond.
...
Sjoerd writes:
This version of freeze creates one file per Python module, instead of
one humongous file for all Python modules.
bkfile: new module to used to write files with backups. No new file
is produced if the new contents is identical to the old.
New option "-x excluded-module" for modulefinder test program.
New option "-i filename" for freeze main program to include a list of
options in place of the -i option.
1998-08-25 14:06:55 +00:00
Guido van Rossum
5e32a77fcd
Minor change for windows; set extensions_c later and set
...
frozendllmain_c at the right place.
1998-07-07 22:47:38 +00:00
Guido van Rossum
590fc2c4fa
Jonathan Giddy:
...
The first one only shows up if $prefix != $exec_prefix, and the problem
is caused by the recent change in location for config.h.
1998-06-12 14:09:03 +00:00
Guido van Rossum
e35c60156b
Add a feature to support specifying an additional search directory for
...
packages. (Mark Hammond)
Folded some long lines.
1998-05-18 20:25:54 +00:00
Guido van Rossum
e10053b881
Remove Emacs cruft at end.
1998-05-06 14:37:41 +00:00
Guido van Rossum
a937afd363
Freeze assumes that all built-in modules are part of the Python core.
...
This is not necessarily the case. It is possible to create a Python
binary which contains built-in extension modules. Therefore
checkextensions should be used for all unknown and builtin modules.
(Sjoerd Mullender)
1998-04-23 14:39:24 +00:00
Guido van Rossum
23cff3170e
Shouldn't import addpack!
1998-04-20 17:53:19 +00:00
Guido van Rossum
78fc3634cb
Big changes by Mark Hammond to support freezing with DLLs on Windows.
1998-03-20 17:37:24 +00:00
Guido van Rossum
a0e18357e7
Rearrange some stuff so that the warning for unknown modules is also
...
issued on Windows.
1998-03-07 04:51:03 +00:00
Guido van Rossum
31d53ed93c
When writing the Windows Makefile, don't forget to strip some filenames
...
of their output directory prefix.
1998-03-07 04:08:04 +00:00
Guido van Rossum
b7da642e2e
Fix typo -- -e takes a flag, -h doesn't. Somehow the colon and the h
...
got transposed.
1998-03-06 17:44:57 +00:00
Guido van Rossum
e0394259b0
Unfold some lines that were previously folded but don't need to be
...
now we're reindented.
Remove files before renaming something to them -- for Windows.
Change check for Python home directory so it works correct on Windows.
1998-03-05 05:39:50 +00:00
Guido van Rossum
1e07403bbf
Some nits...
...
Add the script directory to the path.
Fix the sanity checks on the arguments so they don't mess up the -m
option; remove the requirement that the script must have a .py
extension.
1998-03-05 04:05:38 +00:00
Guido van Rossum
75dc4969ab
Added support for packages.
...
We have a whole new module finder that uses the actual Python
parser and scans the bytecode for IMPORT_NAME and IMPORT_FROM.
This requires some support in import.c (that hasn't been checked in).
New command line options for this: -d, -q, -m.
1998-03-05 03:42:00 +00:00
Guido van Rossum
f888350dec
Untested changes to make the '-s windows' option
...
work on Windows.
1998-03-04 18:12:39 +00:00
Guido van Rossum
94ce0d1963
Add special handling for Python modules that are imported implicitly
...
by the Python runtime: 'site' and 'exceptions'.
1997-12-08 05:01:06 +00:00
Guido van Rossum
345df170e6
os2 patch by Jeff Rush
1997-11-22 22:10:01 +00:00
Guido van Rossum
58a594829c
Changes for building under windows.
1997-08-14 01:45:33 +00:00
Guido van Rossum
0b4b8a21ce
Changed indents to 4 *spaces*; added Emacs variables to avoid
...
inserting tabs. All this (and the previous patch) in preparation for
porting to NT.
1997-08-10 16:56:48 +00:00
Guido van Rossum
9a6e855a27
Support using -p/-P to point to the source/build directory instead of
...
the install directory. Added -h option to print the full usage
message; by default, only two lines are now printed for errors.
1997-08-10 16:47:17 +00:00
Guido van Rossum
b3afce5763
Updated for new style build/install; much simpler!
1997-07-19 21:58:30 +00:00
Guido van Rossum
f06ee5fa07
/usr/local/bin/python -> /usr/bin/env python
1996-11-27 19:52:01 +00:00
Guido van Rossum
96c4dd95cf
OK, now it uses sys.[exec_]prefix and supports
...
a -o option to specify an output directory. *Much* more convenient.
Removed a whole lot of hullabaloo from the README file, too.
1996-08-26 05:14:20 +00:00
Guido van Rossum
aa233f18b2
Changes for 1.4 install targets
1996-08-26 03:49:49 +00:00
Guido van Rossum
d4cc04c672
Add test that script name ends in .py.
...
Cosmetic changes to usage message (refer to "make install" now).
1996-06-17 17:49:13 +00:00
Guido van Rossum
150316ee2e
added getpath.c; added -P exec_prefix; added explanatory note
1995-08-08 14:21:07 +00:00
Guido van Rossum
6d67b607b2
backup Makefile too
1995-04-05 10:58:39 +00:00
Guido van Rossum
309e8ac579
moved Demo/freeze to Tools/freeze
1995-03-02 15:54:21 +00:00
Guido van Rossum
d8336c2286
Lots of things added. README written (mostly).
1994-10-05 16:13:01 +00:00
Guido van Rossum
619e1beda9
Add check for unknown modules
1994-10-03 16:37:36 +00:00
Guido van Rossum
00ff4336a9
Totally new "freeze" program.
1994-10-03 16:33:08 +00:00
Guido van Rossum
dbaf332107
Jack's last version (now I'm supposed to get it working :-)
1994-10-03 10:25:54 +00:00