| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
the --help-formats output. Also moved that list up so it's more obvious
when adding formats.
|
|
|
|
| |
the one in cmd.py).
|
| |
|
| |
|
|
|
|
| |
consistency.
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
'export_symbols' can be None (not sure this is a good idea: it's inconsistent
with every other instance attribute of Extension).
|
| |
|
|
|
|
|
| |
the linker leaves the (temporary) .lib file in the temporary dir. (Moved
from 'msvc_prelink_hack()' method in build_ext.py.)
|
|
|
|
|
|
|
|
|
|
|
| |
- '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
|
|
|
|
|
| |
mere warnings.
Call 'findall()' on our FileList object before we start using it seriously.
|
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
| |
instance instead of a list of filenames. Simplifies the "sdist" command
only a bit, but should allow greater simplification of FileList.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
Other cosmetic/doc/comment tweaks.
|
|
|
|
| |
'_parse_template_line()'.
|
|
|
|
| |
Indentation/whitspace fixes.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Comment tweak.
|
|
|
|
| |
'shared_library_filename()'.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
temporary directory ('bdist_base').
Added --dist-dir option to control where the executable is put.
|
| |
|
|
|
|
| |
they place their output files.
|
|
|
|
| |
defaults to 'dist' (ie. no longer in the distribution root).
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
misc/install.c, still needs to be updated, and it looks like a non-trivial
change.
|
|
|
|
| |
otherwise just generate an '/export:' option.
|
|
|
|
|
| |
fail do we try for win32api/win32con. If *those* both fail, then we don't
have registry access. Phew!
|
| |
|
|
|
|
|
| |
More reformatting by me.
Also added some editorial comments.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
'link_shared_object()'.
|
|
|
|
|
|
|
| |
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()'.
|
| |
|