summaryrefslogtreecommitdiffstats
path: root/Tools/freeze
Commit message (Collapse)AuthorAgeFilesLines
...
* replace obsolete 'exceptions' implicit by 'warnings'Just van Rossum2003-03-181-1/+1
|
* [ 684677 ] Allow freeze to exclude implicitsJust van Rossum2003-03-081-3/+6
|
* moving modulefinder.py to the standard libraryJust van Rossum2002-12-311-486/+0
|
* refactor universal line endings detectionJust van Rossum2002-11-261-8/+8
|
* Polish some bits to silence pychecker.Thomas Heller2002-11-261-1/+1
|
* Don't look for modules in the registry any longer.Thomas Heller2002-11-261-38/+0
| | | | | | | | | | Mark writes in private email: "Modules listed in the registry was a dumb idea. This whole scheme can die. AFAIK, no one in the world uses it (including win32all since the last build)." (See also SF #643711)
* Add a note that this file should be kept compatible with Python 1.5.2,Thomas Heller2002-11-251-2/+10
| | | | | | | per PEP 291 (although there are currently string methods used). This patch makes it compatible with 2.2, at least, by detecting universal newline support.
* Enhancement for ModuleFinder, it can now handle _xmlplus aka PyXML.Thomas Heller2002-11-141-0/+14
| | | | Fixes SF # 637835.
* Fix SF # 464405, freeze doesn't like DOS files on LinuxNeal Norwitz2002-11-121-2/+2
| | | | Use universal newline support when opening a file for freezing.
* SF # 627900, Bytecode copy bug in freezeNeal Norwitz2002-11-121-1/+2
| | | | | Pass co_freevars and co_cellvars to new.code(). Will backport.
* Remove another mention of "import string".Walter Dörwald2002-09-121-3/+2
| | | | | The file itself still mentions Python 1.5.1, so it might need further updates.
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-118-39/+33
| | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
* Update freeze to use zlib 1.1.4.Mark Hammond2002-07-031-2/+2
| | | | From patch: [ 574532 ] Update freeze to use zlib 1.1.4
* Patch 574531/Bug 574570 - allow freeze on windows to use the _winregMark Hammond2002-06-281-1/+5
| | | | extension.
* Remove the only use of a string method.Thomas Heller2002-06-101-1/+1
| | | | Fixes SF 564840.
* Updated freeze.py to the new Makefile symbol layout.Marc-André Lemburg2002-04-044-6/+4
| | | | | | | Fixed a few compiler warnings. freeze.py now produces binaries which can import shared modules (unlike before).
* Part 2/2 of SF patch #416704: More robust freeze, by Toby Dickenson.Guido van Rossum2001-10-183-11/+59
| | | | | | | | | | | | | (With slight cosmetic improvements to shorten lines and a grammar fix to a docstring.) This addes -X and -E options to freeze. From the docstring: -X module Like -x, except the module can never be imported by the frozen binary. -E: Freeze will fail if any modules can't be found (that were not excluded using -x or -X).
* Fix for bug #442374 - Modulefinder registry support brokenMark Hammond2001-09-051-13/+36
|
* Separate CFLAGS and CPPFLAGS. CFLAGS should not contain preprocessorNeil Schemenauer2001-06-022-2/+4
| | | | directives, which is the role of CPPFLAGS. Closes SF patch #414991.
* Patch #409504: Fix regex problems, consider \-continuation lines in MakefileMartin v. Löwis2001-03-212-2/+15
| | | | and Setup.
* Lawrence Hudson, SF #401702: Modify co_filename in frozen programsGuido van Rossum2001-03-202-3/+42
| | | | | | | | | | | | | | | 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
* Teach Tools/freeze/makeconfig.py and Tools/freeze/parsesetup.py to useEric S. Raymond2001-03-182-10/+12
| | | | the re package rather than the obsolete regex.
* Patch 103928: Correct zlib freeze settings for Win32.Tim Peters2001-02-231-2/+2
|
* Windows: ucnhash subproject no longer exists (/F merged into unicodedata).Tim Peters2001-01-241-3/+0
|
* New, improved README from Mike Clarkson. Wow!Guido van Rossum2001-01-031-20/+143
|
* 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.
* Add the exceptions module to the 'never' list -- it is built in.Guido van Rossum2000-07-281-1/+1
|
* change some occurence of python15.dll to python20.dllPeter Schneider-Kamp2000-07-242-6/+6
| | | | closes patch #100956
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-163-4/+4
| | | | | | | | | | 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 ;)
* Patch by Toby Dickenson, mentored by Mark Hammond, to supportGuido van Rossum2000-07-134-7/+62
| | | | | automatically finding (most of) the standard PYD extensions, and to remove the hardcoded Python version.
* Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters2000-07-091-1/+1
|
* Toby Dickenson:Guido van Rossum2000-05-061-4/+1
| | | | | | | Fix for problem with freeze when both "-m" and "-s service" options are used. (Blessed by MarkH)
* Sjoerd Mullender:Guido van Rossum2000-05-021-1/+1
| | | | Bad % formatting.
* Sjoerd Mullender: cmp.py is obsolete...Guido van Rossum2000-04-281-5/+2
|
* From Sjoerd Mullender <sjoerd@oratrix.nl>:Fred Drake2000-03-231-1/+0
| | | | | cmp is not used in freeze, but is imported anyway. What's worse, cmp is no longer in the library, so freeze won't work like this.
* 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__.
* Sjoerd Mullender:Guido van Rossum1999-11-023-1/+3
| | | | Added some declarations to shut up compiler.
* Patch by Jack Jansen to add with_ifdef option, which places #ifndefGuido van Rossum1999-09-301-1/+5
| | | | around external decls.
* Simplified version of a patch by Chih-Hao Huang, who wrote:Guido van Rossum1999-06-231-2/+3
| | | | | | | | | | | | | | | | | | | """ When there are additional Setup files, specified by -e option of freeze, checkextenstions.py assumes that *.o, *.a, -Lpath, and -Rpath are all relative to where the Setup file is. select() inserts the path to the Setup file to make them absolute. However, the assumption is not true. There are cases that absolute paths are specified for them. The inserted prefix, by select(), results in error. The following fix check for absolute paths. The assumption is: an absolute path begins with either '/' or '$'. In the latter case, it is from the environmental variable. (Variables defined locally in the Setup file have already been handled by expandvars()) """ My version of the patch has been verified by Charles Waldman (a colleague of Chih-Hao).
* Patch submitted by Toby Dickenson and approved by Mark Hammond.Guido van Rossum1999-06-211-2/+2
| | | | | | | | | | | | | | | | Toby writes: winmakemakefile.py tries to allow for spaces in the python install path, by adding quotes around the appropriate filenames. It doesn't quite get this correct; sometimes the quotes end up in the middle of the path. Microsoft's NMAKE version 6.0 is happy with this (!!!!) unless there is also a space in the name. I guess most users of freeze on windows do not use the same path as the binary distribution. I've tested the following changes on systems with and without a space in the path.
* Bug submitted by Wayne Knowles, who writes:Guido van Rossum1999-03-121-1/+1
| | | | | | | | | Under Windows, python freeze.py -o hello hello.py creates all the correct files in the hello subdirectory, but the Makefile has the directory prefix in it for frozen_extensions.c nmake fails because it tries to locate hello/frozen_extensions.c (His fix adds a call to os.path.basename() in the appropriate place.)
* # Accidentally checked in a test version of this file with a bogusGuido van Rossum1999-02-161-1/+0
| | | | # "import fooblurg" :-)
* 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-152-3/+7
| | | | | When printing missing modules, also print the module they were imported from.
* Nannified.Guido van Rossum1998-09-141-5/+5
|
* Ignore cruft generating by the test run for hello.py.Guido van Rossum1998-08-251-0/+6
|
* New version, with contributions from Sjoerd Mullender and Mark Hammond.Guido van Rossum1998-08-258-89/+189
| | | | | | | | | | | | 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.
* Minor change for windows; set extensions_c later and setGuido van Rossum1998-07-071-1/+3
| | | | frozendllmain_c at the right place.
* Jonathan Giddy:Guido van Rossum1998-06-121-1/+2
| | | | | This second problem only shows up if LDLAST is not an empty string (such as with threads enabled on DEC Alphas).