summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* Fix line-endings.Greg Ward2000-08-271-1/+1
| | | | Fix bad operator precedence: should be "(metadata or '') + '\n'".
* New release of the Windows installer from Thomas Heller.Greg Ward2000-08-261-283/+296
| | | | | | | | | | | | | | | | | | | | | | | | | The known bug (bogus error message when an empty file is extracted) is fixed. Other changes: - The target-compile and target-optimize flags of bdist_wininst are gone. It is no longer possible to compile the python files during installation. - The zlib module is no longer required or used by bdist_wininst. - I moved the decompression/extraction code into a separate file (extract.c). - The installer stub is now compressed by UPX (see http://upx.tsx.org/). This reduces the size of the exe (and thus the overhead of the final installer program) from 40 kB to 16 kB. - The installer displays a more uptodate user wizard-like user interface, also containing a graphic: Just's Python Powered logo. (I could not convince myself to use one of the BeOpen logos). - The installation progress bar now moves correctly.
* Bumped version to 0.9.2pre.Greg Ward2000-08-261-1/+1
|
* In 'check_extensions_list()': when converting old-style 'buildinfo' dict,Greg Ward2000-08-261-1/+3
| | | | don't assign None to any attributes of the Extension object.
* Don't bother to 'mkpath()' the 'dist_dir' -- that's now taken care ofGreg Ward2000-08-221-2/+0
| | | | in archive_util.py.
* Ensure destination directory exists before trying to create a tarballGreg Ward2000-08-221-2/+4
| | | | or ZIP file.
* Bump version to 0.9.1.Greg Ward2000-08-151-1/+1
|
* Fixed the move-RPM-files hack so it knows about the '--binary-only' andGreg Ward2000-08-151-8/+11
| | | | '--source-only' options.
* Added support for the '--dist-dir' option, including a mildly nastyGreg Ward2000-08-151-4/+23
| | | | | hack to find the two created RPM files (source and binary) and move them to the "dist dir" (default "dist").
* Fix long-hidden inconsistency in internal interface: 'find_modules()' nowGreg Ward2000-08-151-7/+2
| | | | | represents packages as strings, not tuples. This allowed a simplification in 'get_package_dir()', too -- can now assume that 'package' is a string.
* Overhauld 'check_config_h()': now returns a (status, details) tuple,Greg Ward2000-08-131-26/+45
| | | | and is much better documented to boot.
* Added a whinging comment about the ugliness of constructing the BCPPGreg Ward2000-08-131-0/+10
| | | | argument list.
* Rene Liebscher:Greg Ward2000-08-131-18/+23
| | | | | | | | | * use self.debug_print() for debug messages * uses now copy.copy() to copy lists * added 'shared_lib_extension=".dll"', ... , this is necessary if you want use the compiler class outside of the standard distutils build process. * changed result type of check_config_h() from int to string
* Rene Liebscher:Greg Ward2000-08-131-4/+3
| | | | | | * changed some list.extend([...]) to list.append(...) * added '/g0' to compiler_options, so compiler doesn't stop after 100 warnings
* get_export_symbols() changed, adds now module init function if not givenGreg Ward2000-08-131-8/+4
| | | | by the user.
* Rene Liebscher: ext.export_symbols is now always a list (added 'or []').Greg Ward2000-08-131-1/+1
|
* Typo fix in docstring.Greg Ward2000-08-131-2/+1
|
* Fix references to functions formerly imported from 'util'.Greg Ward2000-08-131-20/+23
|
* Fix so 'split_quoted()' handles any whitespace delimiter (not just space).Greg Ward2000-08-081-2/+2
|
* Fix so the 'install_libbase' directory -- where .pth files are installed --Greg Ward2000-08-071-1/+1
| | | | | | participates in the "--root" hack, ie. it also has a new root directory hacked on at the very last minute (essential if the .pth file is to be included in an RPM or other smart installer!).
* Fix so we clear or reinitialize various data structures before populatingGreg Ward2000-08-071-0/+5
| | | | | (allows the same FancyGetopt object to be used multiple times with different option tables).
* Fixed imports from '*util' modules to not just import everything from util.Greg Ward2000-08-057-16/+18
|
* Drop the 'extend()' function -- old 1.5.1 compatibility hack thatGreg Ward2000-08-051-20/+0
| | | | | wasn't actually used anywhere. Drop the "from xxx_util import*" backwards compability hacks.
* Added 'debug_print()'.Greg Ward2000-08-041-0/+5
|
* Rewrote 'find_library_file()' much more cleanly (and consistently withGreg Ward2000-08-041-18/+16
| | | | | MSVCCompiler's version, to aid in factoring common code out of the two classes when the time comes).
* Added 'debug' flag to 'find_library_file()', and changed code to handle it.Greg Ward2000-08-041-6/+11
|
* Added 'debug' flag to 'find_library_file()'.Greg Ward2000-08-042-4/+6
|
* Typo fix.Greg Ward2000-08-021-1/+1
|
* Added 'wininst' to the 'format_commands' list, so it's included inGreg Ward2000-08-021-3/+6
| | | | | the --help-formats output. Also moved that list up so it's more obvious when adding formats.
* Added 'execute()' method, a thin wrapper around 'util.execute() (just likeGreg Ward2000-08-021-1/+4
| | | | the one in cmd.py).
* Replaced 'execute()' method with a thin wrapper around 'util.execute()'.Greg Ward2000-08-021-25/+1
|
* Added the 'execute()' function (moved here from cmd.py with minor tweakage).Greg Ward2000-08-021-0/+26
|
* Rene Liebscher: fix 'skipping byte-compilation' message for grammaticalGreg Ward2000-08-021-1/+1
| | | | consistency.
* Latest version from Rene Liebscher; major changes:Greg Ward2000-08-021-107/+230
| | | | | | | | | | | - added big comment describing possible problems - look for and react to versions of gcc, ld, and dlltool; mainly this is done by the 'get_versions()' function and the CygwinCCompiler and Mingw32CCompiler constructors - move 'check_config_h()' to end of file and defer calling it until we need to (ie. in the CygwinCCompiler constructor) - lots of changes in 'link_shared_object()' -- mostly seems to be library and DLL stuff, but I don't follow it entirely
* Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.Greg Ward2000-08-021-17/+1
| | | | in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
* Rene Liebscher: factor 'find_executable()' out of '_spawn_nt()'.Greg Ward2000-08-021-13/+30
|
* Patch from Rene Liebscher. Some ugly changes, but supposedly this makesGreg Ward2000-08-021-29/+70
| | | | | | | | | | | | | it so BCPPCompiler actually works, so I'm provisionally accepting it -- ugly and working is better than not working! Major changes: - normalize paths (apparently BC++ doesn't like slashes) - overhauled how we search for and specify libraries on the linker command-line - hacked up 'find_library_file()' so it knows about "debug" library naming convention as well as "bcpp_xxx.lib" -- the question is, is this a well-established and sensible convention? Also: - change to use 'util.write_file()' to write the .def file
* Ditched 'abspath()' -- don't need 1.5.1 compatability hacks anymore.Greg Ward2000-08-021-10/+0
|
* Removed 'export_symbol_file'.Greg Ward2000-08-021-8/+1
| | | | | 'export_symbols' can be None (not sure this is a good idea: it's inconsistent with every other instance attribute of Extension).
* Ditched some debugging prints.Greg Ward2000-08-021-3/+0
|
* Patch from Rene Liebscher: generate an /IMPLIB: option to ensure thatGreg Ward2000-08-021-1/+13
| | | | | the linker leaves the (temporary) .lib file in the temporary dir. (Moved from 'msvc_prelink_hack()' method in build_ext.py.)
* Patch from Rene Liebscher, tweaked by me:Greg Ward2000-08-011-44/+41
| | | | | | | | | | | - 'export_symbol_file' (and corresponding 'def_file' in the old "build info" dict) are gone; warn if we see 'def_file' in the dict - the MSVC "pre-link hack" is gone -- all that stuff is now handled elsewhere (eg. by using 'export_symbols', etc.) - add 'get_export_symbols()' and 'get_libraries()' methods -- needed because on Windows, both of those things are a tad more complicated than fetching them from the Extension instance
* Catch syntax errors from processing template lines and turn them intoGreg Ward2000-07-301-2/+9
| | | | | mere warnings. Call 'findall()' on our FileList object before we start using it seriously.
* Added list-like methods: 'append()', 'extend()', 'sort()'.Greg Ward2000-07-301-14/+46
| | | | | | | | | | | Added 'remove_duplicates()'. Simplified constructor: no longer take 'files' or 'allfiles' as args, and no longer have 'dir' attribute at all. Added 'set_allfiles()' and 'findall()' so the client does have a way to set the list of all files. Changed 'include_pattern()' to use the 'findall()' method instead of the external function. (Of course, the method is just a trivial wrapper around the function.)
* Replaced 'self.files' with 'self.filelist': now we carry around a FileListGreg Ward2000-07-301-54/+38
| | | | | instance instead of a list of filenames. Simplifies the "sdist" command only a bit, but should allow greater simplification of FileList.
* The other half of Rene Liebscher's patch to add the Template class,Greg Ward2000-07-301-305/+15
| | | | | which I renamed to FileList: remove all the file-list-generation code from the sdist command and adapt it to use the new FileList class instead.
* Typo fix.Greg Ward2000-07-301-1/+1
|
* Added DistutilsTemplateError.Greg Ward2000-07-301-0/+3
|
* Ditched the unused 'recursive_exclude_pattern()' method.Greg Ward2000-07-301-24/+0
|
* Renamed 'select_pattern()' to 'include_pattern()'.Greg Ward2000-07-301-15/+16
| | | | Other cosmetic/doc/comment tweaks.