- 23 May, 2000 6 commits
-
-
Greg Ward authored
* 'get_command_obj()' now sets command attributes based on the 'command_options' dictionary * some typos fixed * kludged 'parse_config_files()' to re-initialize the ConfigParser instance after each file, so we know for sure which config file each option comes form * added lots of handy debugging output
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
in the option list is an attribute of the OptionDummy that will be initialized to None.
-
Greg Ward authored
-
Greg Ward authored
command-line parsing code, splitting it up into several methods (new methods: '_parse_command_opts()', '_show_help()') and making it put options into the 'command_options' dictionary rather than instantiating command objects and putting them there. Lots of other little changes: * merged 'find_command_class()' and 'create_command_obj()' and called the result 'get_command_class()' * renamed 'find_command_obj()' to 'get_command_obj()', and added command object creation and maintenance of the command object cache to its responsibilities (taken over from 'create_command_obj()') * parse config files one-at-a-time, so we can keep track of the filename for later error reporting * tweaked some help messages * fixed up many obsolete comments and docstrings
-
- 20 May, 2000 7 commits
-
-
Greg Ward authored
destination path, otherwise show just the directory.
-
Greg Ward authored
objects, it now has method names. Added three methods, 'has_lib()', 'has_scripts()', and 'has_data()' to determine if we need to run each of the three possible sub-commands. Added 'get_sub_commands()' to take care of finding the methods named in 'sub_commands', running them, and interpreting the results to build a list of sub-commands that actually have to be run.
-
Greg Ward authored
have any Python modules to install (rather than bomb when we try to copy a non-existent directory).
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
implemented by subclasses, since they are needed by 'gen_lib_options()'.
-
Greg Ward authored
and 'link_shared_lib()'. In MSVCCompiler, this is meaningful: it adds /EXPORT: options to the linker command line. In UnixCCompiler, it is ignored.
-
- 13 May, 2000 20 commits
-
-
Gregory P. Smith authored
Added some guiding comments.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
(Completely uninspected and untested by me, this is just to get the code into CVS!)
-
Gregory P. Smith authored
have to worry about "or []" in 'get_outputs()'.
-
Gregory P. Smith authored
rather than 'data'.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
'get_inputs()'.
-
Gregory P. Smith authored
new flexibility, specifically the 'root' option. Now, we just use "install" to do a fake installation into a temporary directory (the 'bdist_dir' option, which derives from the 'bdist_base' option of "bdist"), and then tar/zip up that directory. This means that dumb built distributions are now relative to the root directory, rather than the prefix or exec-prefix; this is probably a feature, but does make them slightly less flexible.
-
Gregory P. Smith authored
"bdist" command rather than "build".
-
Gregory P. Smith authored
-
Gregory P. Smith authored
file to write the list of installed files to.
-
Gregory P. Smith authored
the list returned by 'get_outputs()', thanks to changes in the "install_lib" command.
-
Gregory P. Smith authored
to ensure that compiled bytecode files are considered part of the output of the "install_lib" command.
-
Gregory P. Smith authored
last (after writing list of installed files) -- that way, the warning is more visible.
-
Gregory P. Smith authored
installed files to INSTALLED_FILES.
-
Gregory P. Smith authored
top-level temporary directory for creating built distributions. (Won't work yet, since the "build" command doesn't yet have a 'build_bdist' option, and none of the "bdist" commands support it yet.)
-
Gregory P. Smith authored
variable. (Is this really needed? Can we drop it when the config file mechanism allows users to set compiler flags in setup.cfg?)
-
Gregory P. Smith authored
the 'no_format_option' class attribute.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
correctly ensure that it's 'dirname' exists.
-
- 12 May, 2000 7 commits
-
-
Gregory P. Smith authored
-
Gregory P. Smith authored
already been set (eg. by a command-line option).
-
Gregory P. Smith authored
have to wade through all the 'build' output when testing installation.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
Caught up with renaming in 'install_misc' base class. Changed 'run()' to chmod installed scripts under Unix.
-
Gregory P. Smith authored
- renamed '_copydata()' to 'copy_files()' - changed it to record complete output filenames - dropped '_outputdata()' in favour of much simpler 'get_outputs()'
-
Gregory P. Smith authored
adds the 'install_data' and 'install_scripts' commands; these two are trivial thanks to the 'install_misc' base class in cmd.py. (Minor tweaks and commentary by me; the code is untested so far.)
-