Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Drop the 'extend()' function -- old 1.5.1 compatibility hack that | Greg Ward | 2000-08-05 | 1 | -20/+0 |
| | | | | | wasn't actually used anywhere. Drop the "from xxx_util import*" backwards compability hacks. | ||||
* | Added 'debug_print()'. | Greg Ward | 2000-08-04 | 1 | -0/+5 |
| | |||||
* | Rewrote 'find_library_file()' much more cleanly (and consistently with | Greg Ward | 2000-08-04 | 1 | -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 Ward | 2000-08-04 | 1 | -6/+11 |
| | |||||
* | Added 'debug' flag to 'find_library_file()'. | Greg Ward | 2000-08-04 | 2 | -4/+6 |
| | |||||
* | Typo fix. | Greg Ward | 2000-08-02 | 1 | -1/+1 |
| | |||||
* | Added 'wininst' to the 'format_commands' list, so it's included in | Greg Ward | 2000-08-02 | 1 | -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 like | Greg Ward | 2000-08-02 | 1 | -1/+4 |
| | | | | the one in cmd.py). | ||||
* | Replaced 'execute()' method with a thin wrapper around 'util.execute()'. | Greg Ward | 2000-08-02 | 1 | -25/+1 |
| | |||||
* | Added the 'execute()' function (moved here from cmd.py with minor tweakage). | Greg Ward | 2000-08-02 | 1 | -0/+26 |
| | |||||
* | Rene Liebscher: fix 'skipping byte-compilation' message for grammatical | Greg Ward | 2000-08-02 | 1 | -1/+1 |
| | | | | consistency. | ||||
* | Latest version from Rene Liebscher; major changes: | Greg Ward | 2000-08-02 | 1 | -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 Ward | 2000-08-02 | 1 | -17/+1 |
| | | | | in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed). | ||||
* | Rene Liebscher: factor 'find_executable()' out of '_spawn_nt()'. | Greg Ward | 2000-08-02 | 1 | -13/+30 |
| | |||||
* | Patch from Rene Liebscher. Some ugly changes, but supposedly this makes | Greg Ward | 2000-08-02 | 1 | -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 Ward | 2000-08-02 | 1 | -10/+0 |
| | |||||
* | Removed 'export_symbol_file'. | Greg Ward | 2000-08-02 | 1 | -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 Ward | 2000-08-02 | 1 | -3/+0 |
| | |||||
* | Patch from Rene Liebscher: generate an /IMPLIB: option to ensure that | Greg Ward | 2000-08-02 | 1 | -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 Ward | 2000-08-01 | 1 | -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 into | Greg Ward | 2000-07-30 | 1 | -2/+9 |
| | | | | | mere warnings. Call 'findall()' on our FileList object before we start using it seriously. | ||||
* | Added list-like methods: 'append()', 'extend()', 'sort()'. | Greg Ward | 2000-07-30 | 1 | -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 FileList | Greg Ward | 2000-07-30 | 1 | -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 Ward | 2000-07-30 | 1 | -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 Ward | 2000-07-30 | 1 | -1/+1 |
| | |||||
* | Added DistutilsTemplateError. | Greg Ward | 2000-07-30 | 1 | -0/+3 |
| | |||||
* | Ditched the unused 'recursive_exclude_pattern()' method. | Greg Ward | 2000-07-30 | 1 | -24/+0 |
| | |||||
* | Renamed 'select_pattern()' to 'include_pattern()'. | Greg Ward | 2000-07-30 | 1 | -15/+16 |
| | | | | Other cosmetic/doc/comment tweaks. | ||||
* | Renamed 'process_line()' to 'process_template_line()', and factored out | Greg Ward | 2000-07-30 | 1 | -69/+63 |
| | | | | '_parse_template_line()'. | ||||
* | Added class docstring and ditched inappropriate class attrs. | Greg Ward | 2000-07-30 | 1 | -123/+126 |
| | | | | Indentation/whitspace fixes. | ||||
* | Provides the FileList class for building a list of filenames by exploring | Greg Ward | 2000-07-30 | 1 | -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 Ward | 2000-07-27 | 1 | -1/+1 |
| | |||||
* | Fixed a grab-bag of typos spotted by Rob Hooft. | Greg Ward | 2000-07-27 | 9 | -11/+11 |
| | |||||
* | Remove unused 'search_dir()' method. | Greg Ward | 2000-07-27 | 1 | -21/+1 |
| | | | | Comment tweak. | ||||
* | Fix to call 'library_filename()' instead of the non-existent | Greg Ward | 2000-07-27 | 1 | -3/+5 |
| | | | | 'shared_library_filename()'. | ||||
* | Typo fix from David Ascher. | Greg Ward | 2000-07-27 | 1 | -1/+1 |
| | |||||
* | Typo fix from Bastian Kleineidam | Andrew M. Kuchling | 2000-07-14 | 1 | -1/+1 |
| | |||||
* | fix inconsistent use of tabs and spaces | Jeremy Hylton | 2000-07-07 | 4 | -24/+24 |
| | |||||
* | Fixed so the ZIP file (which is bundled into an executable) goes in the | Greg Ward | 2000-07-05 | 1 | -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 Ward | 2000-07-05 | 1 | -1/+7 |
| | |||||
* | Added the --dist-dir option that the "bdist_*" will use to control where | Greg Ward | 2000-07-05 | 1 | -0/+7 |
| | | | | they place their output files. | ||||
* | Added the --dist-dir option to control where the archive(s) are put; | Greg Ward | 2000-07-05 | 1 | -1/+11 |
| | | | | defaults to 'dist' (ie. no longer in the distribution root). | ||||
* | Simplify the registry-module-finding code: _winreg or win32api/win32con. | Greg Ward | 2000-06-30 | 1 | -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 Ward | 2000-06-30 | 1 | -1/+1 |
| | |||||
* | Allow 2.0 on the list of target versions. NB. this isn't enough: the GUI part, | Greg Ward | 2000-06-29 | 1 | -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 Ward | 2000-06-29 | 1 | -6/+0 |
| | | | | otherwise just generate an '/export:' option. | ||||
* | On second thought, first try for _winreg, and then winreg. Only if both | Greg Ward | 2000-06-29 | 1 | -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 Ward | 2000-06-29 | 1 | -6/+6 |
| | |||||
* | Cleaned up and reformatted by Rene Liebscher. | Greg Ward | 2000-06-29 | 1 | -95/+113 |
| | | | | | More reformatting by me. Also added some editorial comments. | ||||
* | Fixed so 'get_source_files()' calls 'check_extension_list()' -- that way, | Greg Ward | 2000-06-29 | 1 | -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. |