summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/modulefinder.py
Commit message (Collapse)AuthorAgeFilesLines
* Lawrence Hudson, SF #401702: Modify co_filename in frozen programsGuido van Rossum2001-03-201-1/+32
| | | | | | | | | | | | | | | This patch was developed primarily to reduce the size of the frozen binary. It is particularly useful when freezing for 'small' platforms, such as Palm OS, where you really want to save that last miserable byte. A limitation of this patch is that it does not provide any feedback about the replacements being made. As the path matching is case-sensitive this may lead to unexpected behaviour for DOS and Windows people, eg > freeze.py -r C:\Python\Lib\=py\ goats.py should probably be: > freeze.py -r c:\python\lib\=py\ goats.py
* Application of [ Patch #102226 ] freeze/modulefinder.py should use _winreg, ↵Mark Hammond2000-11-061-15/+6
| | | | not win32api
* Fix for bug #113693: with the changes to the IMPORT_FROM opcodes, thisGuido van Rossum2000-09-151-0/+7
| | | | crashed on an assert.
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-2/+2
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* Sjoerd Mullender:Guido van Rossum2000-05-021-1/+1
| | | | Bad % formatting.
* Fix a bug reported by Toby Dickenson (on 18 May 1999).Guido van Rossum1999-11-021-1/+2
| | | | Sometimes there's no parent, so don't try to get its __name__.
* Fix for modulefinder so that it prints all modules an unknown moduleGuido van Rossum1998-12-221-2/+6
| | | | was referenced in instead of only the last. (Sjoerd Mullender)
* Sjoerd Mullender:Guido van Rossum1998-12-151-3/+6
| | | | | When printing missing modules, also print the module they were imported from.
* Nannified.Guido van Rossum1998-09-141-5/+5
|
* New version, with contributions from Sjoerd Mullender and Mark Hammond.Guido van Rossum1998-08-251-3/+8
| | | | | | | | | | | | 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.
* Add a feature to support specifying an additional search directory forGuido van Rossum1998-05-181-4/+17
| | | | | | packages. (Mark Hammond) Remove Emacs cruft.
* Big changes by Mark Hammond to support freezing with DLLs on Windows.Guido van Rossum1998-03-201-2/+30
|
* Always set the __file__ attribute, so dynamic link modules are indicated.Guido van Rossum1998-03-061-1/+1
|
* Oops, bug omission: also scan internal code objects for imports!Guido van Rossum1998-03-051-31/+37
|
* Reindented, removed tabs.Guido van Rossum1998-03-051-279/+283
|
* Added support for packages.Guido van Rossum1998-03-051-0/+373
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.