summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Add a README file so that cvs update -P doesn't obliterate thisGuido van Rossum2000-03-311-0/+2
| | | | directory, and so that people have a clue as to why it exists.
* Fixed my simplification to Thomas' patch: winreg and win32api export the sameGreg Ward2000-03-311-8/+13
| | | | functions, but with different names.
* Zip file handling module, by Jim Ahlstrom.Guido van Rossum2000-03-311-0/+470
|
* Marc-Andre Lemburg: Error reporting in the codec registry and lookupGuido van Rossum2000-03-311-1/+5
| | | | mechanism is enhanced to be more informative.
* Marc-Andre Lemburg: use all lowercase names.Guido van Rossum2000-03-311-8/+8
|
* Simplified Thomas Heller's registry patch: just assign all thoseGreg Ward2000-03-311-32/+32
| | | | | | | | HKEY_* and Reg* names once, rather than having near-duplicate code in the two import attempts. Also dropped the leading underscore on all the imported symbols, as it's not appropriate (they're not local to this module).
* Patch from Thomas Heller: use the new winreg module if available.Greg Ward2000-03-311-24/+47
|
* Added test case output for pyexpat moduleAndrew M. Kuchling2000-03-311-0/+31
|
* Added test case for pyexpat module that tries to exercise all the handlersAndrew M. Kuchling2000-03-311-0/+107
|
* Added Fredrik Lundh's sre module and its supporting cast.Guido van Rossum2000-03-314-0/+856
| | | | NOTE: THIS IS VERY ROUGH ALPHA CODE!
* Added code to blow away the pseudo-installation tree and a 'keep_tree'Greg Ward2000-03-311-1/+10
| | | | option to disable this (by default, it's false and we clean up).
* Oops, got a little too enthusiastic deleting code in that last revision:Greg Ward2000-03-311-0/+1
| | | | we still have to *run* the sub-command that creates a built distribution.
* Fixed 'make_archive()' to explicitly turn of compression when format is "tar".Greg Ward2000-03-311-0/+1
|
* Rename 'formats' option to 'format', and remove the ability to generateGreg Ward2000-03-311-20/+16
| | | | | multiple built distributions in one run -- it seemed a bit dodgy and I'd rather remove it than try to beat it into submission right now.
* Import from 'types' module.Greg Ward2000-03-311-0/+3
| | | | Added 'ztar', 'tar' to 'format_command' dictionary.
* Tweaked 'get_platform()' to include the first character of the OS release:Greg Ward2000-03-311-4/+2
| | | | eg. sunos5, linux2, irix5.
* Removed some old test code: don't set 'plat' when calling 'new_compiler()'.Greg Ward2000-03-311-2/+1
|
* Don't perpetrate the "_d" hack for naming debugging extensions -- that'sGreg Ward2000-03-311-4/+0
| | | | now done in the 'build_ext' command.
* Patch (mostly) from Thomas Heller for building on Windows:Greg Ward2000-03-311-11/+36
| | | | | | | | | * build to "Debug" or "Release" temp directory * put linker turds (.lib and .exp files) in the build temp directory * tack on "_d" to extensions built with debugging * added 'get_ext_libname()' help in putting linker turds to temp dir Also, moved the code that simplifies None to empty list for a bunch of options to 'finalize_options()' instead of 'run()'.
* Don't put Python's library directory into the library search path -- that'sGreg Ward2000-03-311-3/+0
| | | | specific to building Python extensions.
* Added 'bdist' and 'bdist_dumb'.Greg Ward2000-03-311-0/+2
|
* A version of FixTk.py that works with the way the installer nowGuido van Rossum2000-03-311-64/+4
| | | | installs Tcl/Tk.
* Added 'get_name()' and 'get_full_name()' methods to Distribution.Greg Ward2000-03-311-2/+16
| | | | | | | | Simplified 'Command.get_peer_option()' a tad -- just call 'find_peer()' to get the peer command object. Updated 'Command.copy_file()' to take a 'link' parameter, just like 'util.copy_file()' does now. Added 'Command.make_archive()' to wrap 'util.make_archive()'.
* Added 'create_tree()'.Greg Ward2000-03-311-25/+135
| | | | | | | | | | | Changes to 'copy_file()': * added support for making hard links and symlinks * noted that it silently clobbers existing files when copying, but blows up if destination exists when linking -- hmmm... * error message tweak Added 'base_name' parameter to 'make_tarball()' and 'make_zipfile()'. Added 'make_archive()' -- wrapper around 'make_tarball()' or 'make_zipfile()' to take care of the archive "root directory".
* Added DistutilsInternalError.Greg Ward2000-03-311-0/+6
|
* The 'bdist_dumb' command, the first worker bee for use by 'bdist'. This isGreg Ward2000-03-311-0/+131
| | | | | | the command that actually creates "dumb" binary distributions, ie. tarballs and zip files that you just unpack under <prefix> or <exec-prefix>. Very limited, but it's a start.
* The 'bdist' command, for creating "built" (binary) distributions.Greg Ward2000-03-311-0/+70
| | | | | | | Initial revision is pretty limited; it only knows how to generate "dumb" binary distributions, i.e. a tarball on Unix and a zip file on Windows. Also, due to limitations in the installation code, it only knows how to distribute Python library code. But hey, it's a start.
* Added 'get_inputs()'.Greg Ward2000-03-311-0/+20
|
* Fixed 'get_outputs()' so it actually works.Greg Ward2000-03-311-4/+16
| | | | | Added 'get_inputs()' (which is strikingly similar to 'get_outputs()' - sigh). Cosmetic tweaks.
* Changed to use the new 'has_pure_modules()' and 'has_ext_modules()' methodsGreg Ward2000-03-311-52/+19
| | | | | | | | | | | | | | | provided by Distribution. Cosmetic and error message tweaks. Simplified 'make_release_tree()': * extracted 'distutils.util.create_tree()' * don't have to do hard-linking ourselves -- it's now handled by 'distutils.util.copy_file()' (although the detection of whether hard linking is available still needs to be factored out) Removed 'make_tarball()' and 'make_zipfile()' entirely -- their role is now amply filled by 'distutils.util.make_archive()'. Simplified 'make_distribution()': * use Distribution's new 'get_full_name()' method * use 'make_archive()' instead of if/elif/.../else on the archive format
* Mark Hammond: Ooops - even though Win32 handles the same args, thereGuido van Rossum2000-03-311-4/+1
| | | | was a superfluous check for the platform.
* Improved test, by Mark Hammond, for Win32.Guido van Rossum2000-03-311-11/+10
|
* robustify UserList constructor -- will now accept any sequenceJeremy Hylton2000-03-312-5/+19
| | | | add test cases for non-UserList class, tuple, & string
* Two fixes for extended call syntax:Jeremy Hylton2000-03-302-0/+48
| | | | | | | If a non-tuple sequence is passed as the *arg, convert it to a tuple before checking its length. If named keyword arguments are used in combination with **kwargs, make a copy of kwargs before inserting the new keys.
* Show Tcl/Tk version number in _test() and show Unicode test if possible.Guido van Rossum2000-03-301-1/+4
|
* Output for simple test case for mmap on Unix; someone needs to write aAndrew M. Kuchling2000-03-301-0/+0
| | | | Win32 test case.
* Added simple test case for mmap on Unix; someone needs to write aAndrew M. Kuchling2000-03-301-0/+69
| | | | Win32 test case
* Oops: 'build_extensions()' no longer takes an 'extensions' list.Greg Ward2000-03-301-1/+1
|
* Michael Hudson: With the (cool!) new call syntax, the longest opcodeGuido van Rossum2000-03-301-1/+1
| | | | | name is much longer, which fouls up dis's formatting slightly; this is a "fix" for that.
* Lawrence Kesteloot noted: Lib/user.py has a comment that says that theGuido van Rossum2000-03-301-1/+1
| | | | | script pointed to by PYTHONPATH will be executed on startup. That should say PYTHONSTARTUP.
* Put the Python "system" include dir last, rather than first.Greg Ward2000-03-291-1/+3
|
* Call 'find_exe()', not '_find_exe()'.Greg Ward2000-03-291-3/+3
|
* Patch inspired by Bastian Kleineidam <calvin@cs.uni-sb.de>:Greg Ward2000-03-291-12/+7
| | | | | use global __debug__ flag to determine if compiled files will be ".pyc" or ".pyo". Tweaked compilation output messages too.
* Changed 'copy_tree()' so it returns the list of all files that were copied orGreg Ward2000-03-291-11/+12
| | | | might have been copied, regardless of the 'update' flag.
* Documented Bastian's patch.Greg Ward2000-03-291-7/+9
| | | | Made handling OSError in 'mkpath()' more standard.
* Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>:Greg Ward2000-03-291-3/+5
| | | | make 'mkdir()' return list of directories created.
* Added 'make_tarball()' and 'make_zipfile()' functions in preparationGreg Ward2000-03-291-2/+90
| | | | | for the 'bdist_dumb' command. Adapted, with tweakage, from the 'sdist' command.
* Moved the guts of 'make_tarball()' and 'make_zipfile()' to distutils.utilGreg Ward2000-03-291-53/+4
| | | | | in preparation for the 'bdist_dumb' command; these methods remain as trivial wrappers around the versions in distutils.util.
* Added the "distribution query" methods: 'has_pure_modules()',Greg Ward2000-03-291-2/+22
| | | | 'has_ext_modules()', 'has_c_libraries()', 'has_modules()', and 'is_pure()'.
* Added 'build_clib'; replaced 'install_py' and 'install_ext' with 'install_lib'.Greg Ward2000-03-291-2/+2
|