summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Renamed 'process_line()' to 'process_template_line()', and factored outGreg Ward2000-07-301-69/+63
| | | | '_parse_template_line()'.
* Added class docstring and ditched inappropriate class attrs.Greg Ward2000-07-301-123/+126
| | | | Indentation/whitspace fixes.
* Provides the FileList class for building a list of filenames by exploringGreg Ward2000-07-301-0/+362
| | | | | | | | the filesystem, and filtering the list by applying various patterns. Initial revision (almost) as supplied in a patch by Rene Liebscher; I just renamed the class from Template to FileList, and the module accordingly.
* Bump version to 0.9.1pre.Greg Ward2000-07-271-1/+1
|
* Fixed a grab-bag of typos spotted by Rob Hooft.Greg Ward2000-07-279-11/+11
|
* Remove unused 'search_dir()' method.Greg Ward2000-07-271-21/+1
| | | | Comment tweak.
* Fix to call 'library_filename()' instead of the non-existentGreg Ward2000-07-271-3/+5
| | | | 'shared_library_filename()'.
* Typo fix from David Ascher.Greg Ward2000-07-271-1/+1
|
* Typo fix from Bastian KleineidamAndrew M. Kuchling2000-07-141-1/+1
|
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-074-24/+24
|
* Fixed so the ZIP file (which is bundled into an executable) goes in theGreg Ward2000-07-051-4/+13
| | | | | temporary directory ('bdist_base'). Added --dist-dir option to control where the executable is put.
* Added --dist-dir option to control where output archive(s) go.Greg Ward2000-07-051-1/+7
|
* Added the --dist-dir option that the "bdist_*" will use to control whereGreg Ward2000-07-051-0/+7
| | | | they place their output files.
* Added the --dist-dir option to control where the archive(s) are put;Greg Ward2000-07-051-1/+11
| | | | defaults to 'dist' (ie. no longer in the distribution root).
* Simplify the registry-module-finding code: _winreg or win32api/win32con.Greg Ward2000-06-301-4/+1
| | | | | | This'll work fine with 2.0 or 1.5.2, but is less than ideal for 1.6a1/a2. But the code to accomodate 1.6a1/a2 was released with Distutils 0.9, so it can go away now.
* Bump version to 0.9.Greg Ward2000-06-301-1/+1
|
* Allow 2.0 on the list of target versions. NB. this isn't enough: the GUI part,Greg Ward2000-06-291-5/+5
| | | | | misc/install.c, still needs to be updated, and it looks like a non-trivial change.
* Don't try to guess the name of a .def file -- if one is supplied, use it,Greg Ward2000-06-291-6/+0
| | | | otherwise just generate an '/export:' option.
* On second thought, first try for _winreg, and then winreg. Only if bothGreg Ward2000-06-291-1/+5
| | | | | fail do we try for win32api/win32con. If *those* both fail, then we don't have registry access. Phew!
* Changed to use _winreg module instead of winreg.Greg Ward2000-06-291-6/+6
|
* Cleaned up and reformatted by Rene Liebscher.Greg Ward2000-06-291-95/+113
| | | | | More reformatting by me. Also added some editorial comments.
* Fixed so 'get_source_files()' calls 'check_extension_list()' -- that way,Greg Ward2000-06-291-1/+1
| | | | | we can run "sdist" on a distribution with old-style extension structures even if we haven't built it yet. Bug spotted by Harry Gebel.