- 27 Sep, 2000 4 commits
-
-
Greg Ward authored
deprecated after all. But now they're only implemented once, instead of N times.
-
Greg Ward authored
implementations. Details: * replace 'link_shared_object()', 'link_shared_lib()', and 'link_executable()' with 'link()', which is (roughly) the union of the three methods it replaces * in all implementation classes (UnixCCompiler, MSVCCompiler, etc.), ditch the old 'link_*()' methods and replace them with 'link()' * in the abstract base class (CCompiler), add the old 'link_*()' methods as wrappers around the new 'link()' (they also print a warning of the deprecated interface) Also increases consistency between MSVCCompiler and BCPPCompiler, hopefully to make it easier to factor out the mythical WindowsCCompiler class. Details: * use 'self.linker' instead of 'self.link' * add ability to compile resource files to BCPPCompiler * added (redundant?) 'object_filename()' method to BCPPCompiler * only generate a .def file if 'export_symbols' defined
-
Greg Ward authored
-
Greg Ward authored
(was crashing on any boolean command-line option!).
-
- 26 Sep, 2000 7 commits
- 25 Sep, 2000 7 commits
-
-
Greg Ward authored
-
Greg Ward authored
than rolling our own with fancy_getopt's 'longopt_xlate' global.
-
Greg Ward authored
Removed script options -- don't think they ever worked, weren't very well thought through, etc.
-
Greg Ward authored
with the bdist_* commands.
-
Greg Ward authored
-
Greg Ward authored
"no", "0", etc. to true/false.
-
Greg Ward authored
* options can now be spelled "foo-bar" or "foo_bar" (handled in 'parse_config_files()', just after we parse a file) * added a "[global]" section so there's a place to set global options like verbose/quiet and dry-run * respect the "negative alias" dictionary so (eg.) "quiet=1" is the same as "verbose=0" (this had to be done twice: once in 'parse_config_file()' for global options, and once in '_set_command_options()' for per-command options) * the other half of handling boolean options correctly: allow commands to list their boolean options in a 'boolean_options' class attribute, and use it to translate strings (like "yes", "1", "no", "0", etc) to true or false
-
- 23 Sep, 2000 3 commits
- 22 Sep, 2000 3 commits
-
-
Greg Ward authored
as well as scheme, and don't convert all installation paths (that's now done by the "install" command for us).
-
Greg Ward authored
'convert_paths()' method to convert them all to the local syntax (backslash or colon or whatever) at the appropriate time. Added SCHEME_KEYS to get rid of one hard-coded list of attributes (in 'select_scheme()'). Default 'install_path_file' to true, and never set it false (it's just there in case some outsider somewhere wants to disable installation of the .pth file for whatever reason). Toned down the warning emitted when 'install_path_file' is false, since we no longer know why it might be false. Added 'warn_dir' flag to suppress warning when installing to a directory not in sys.path (again, we never set this false -- it's there for outsiders to use, specifically the "bdist_*" commands). Pulled the loop of 'change_root()' calls out to new method 'change_roots()'. Comment updates/deletions/additions.
-
Greg Ward authored
up when the pathname starts with '/', which is needed when converting installation directories in the "install" command.
-
- 21 Sep, 2000 1 commit
-
-
Greg Ward authored
-
- 19 Sep, 2000 2 commits
-
-
Greg Ward authored
resource files. The gist of the patch is to treat ".rc" and ".mc" files as source files; ".mc" files are compiled to ".rc" and then ".res", and ".rc" files are compiled to ".res". Wish I knew what all these things stood for...
-
Thomas Heller authored
on other systems, so that data, headers, scripts are included in the installer.
-
- 18 Sep, 2000 1 commit
-
-
Greg Ward authored
-
- 17 Sep, 2000 3 commits
-
-
Greg Ward authored
-
Greg Ward authored
in a string (gives you something to do with the dictionary returned by 'parse_makefile()'). Pulled the regexes in 'parse_makefile()' out -- they're now globals, as 'expand_makefile_vars()' needs (two of) them. Cosmetic tweaks to 'parse_makefile()'.
-
Greg Ward authored
easier for people porting Makefile.pre.in-based extensions to Distutils. Also loosened argument-checking in Extension constructor to make life easier for 'read_setup_file()'.
-
- 16 Sep, 2000 9 commits
-
-
Greg Ward authored
are completely skipped, rather than being treated as blank lines (and then subject to the 'skip_blanks' flag). This allows us to process old-style Setup files, which rely on hello \\ # boo! there coming out as "hello there".
-
Greg Ward authored
Fixed precendence bug that meant setting skip_blanks to false didn't work under some circumstances.
-
Greg Ward authored
Factored the guts of 'warn()' out to 'gen_error()', and added the 'error()' method (trivial thanks to the refactoring).
-
Greg Ward authored
Dropped the 'collapse_ws' option and replaced it with 'collapse_join' -- it's *much* faster (no 're.sub()') and this is the reason I really added 'collapse_ws', ie. to remove leading whitespace from a line being joined to the previous line.
-
Greg Ward authored
(eg. "bdist_dumb", to generate both ZIP and tar archives in the same run), tell all but the last run to keep temp files -- this just gets rid of the need to pseudo-install the same files multiple times.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
Run "install" the right way, by calling 'run_command()'.
-