- 02 Aug, 2000 5 commits
-
-
Greg Ward authored
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
-
Greg Ward authored
-
Greg Ward authored
'export_symbols' can be None (not sure this is a good idea: it's inconsistent with every other instance attribute of Extension).
-
Greg Ward authored
-
Greg Ward authored
the linker leaves the (temporary) .lib file in the temporary dir. (Moved from 'msvc_prelink_hack()' method in build_ext.py.)
-
- 01 Aug, 2000 1 commit
-
-
Greg Ward authored
- '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
-
- 30 Jul, 2000 11 commits
-
-
Greg Ward authored
mere warnings. Call 'findall()' on our FileList object before we start using it seriously.
-
Greg Ward authored
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.)
-
Greg Ward authored
instance instead of a list of filenames. Simplifies the "sdist" command only a bit, but should allow greater simplification of FileList.
-
Greg Ward authored
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.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
Other cosmetic/doc/comment tweaks.
-
Greg Ward authored
'_parse_template_line()'.
-
Greg Ward authored
Indentation/whitspace fixes.
-
Greg Ward authored
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.
-
- 27 Jul, 2000 5 commits
- 14 Jul, 2000 1 commit
-
-
Andrew M. Kuchling authored
-
- 07 Jul, 2000 1 commit
-
-
Jeremy Hylton authored
-
- 05 Jul, 2000 4 commits
- 30 Jun, 2000 2 commits
- 29 Jun, 2000 7 commits
-
-
Greg Ward authored
misc/install.c, still needs to be updated, and it looks like a non-trivial change.
-
Greg Ward authored
otherwise just generate an '/export:' option.
-
Greg Ward authored
fail do we try for win32api/win32con. If *those* both fail, then we don't have registry access. Phew!
-
Greg Ward authored
-
Greg Ward authored
More reformatting by me. Also added some editorial comments.
-
Greg Ward authored
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.
-
Greg Ward authored
Changed 'prune_file_list()' so it also prunes out RCS and CVS directories. Added 'is_regex' parameter to 'select_pattern()', 'exclude_pattern()', and 'translate_pattern()', so that you don't have to be constrained by the simple shell-glob-like pattern language, and can escape into full-blown regexes when needed. Currently this is only available in code -- it's not exposed in the manifest template mini-language. Added 'prune' option (controlled by --prune and --no-prune) to determine whether we call 'prune_file_list()' or not -- it's true by default. Fixed 'negative_opt' -- it was misnamed and not being seen by dist.py. Added --no-defaults to the option table, so it's seen by FancyGetopt.
-
- 28 Jun, 2000 3 commits
-
-
Jeremy Hylton authored
-
Greg Ward authored
'link_shared_object()'.
-
Greg Ward authored
methods (but not 'link_executable()', hmmm). Currently only used by BCPPCompiler; it's a dummy parameter for UnixCCompiler and MSVCCompiler. Also added 'bcpp' to compiler table used by 'new_compiler()'.
-