- 06 Ara, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 26 Eyl, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
fairly tight control, and the '_setup_stop_after' and '_setup_distribution' globals to provide the tight control. This isn't entirely reliable yet: it dies horribly with a NameError on the example PIL setup script in examples/pil_setup.py (at least with Python 1.5.2; untested with current Python). There's some strangeness going on with execfile(), but I don't understand it and don't have time to track it down right now.
-
- 29 Agu, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
Changed 'core.setup()' so it sets them to reasonable defaults. Tweaked how the "usage" string is generated: 'core' now provides 'gen_usage()', which is used instead of 'USAGE'. Modified "build_py" and "sdist" commands to refer to 'self.distribution.script_name' rather than 'sys.argv[0]'.
-
- 21 Haz, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 17 Haz, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
muddling through IOError and OSError exception objects right here.
-
- 03 Haz, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 02 Haz, 2000 2 kayıt (commit)
- 31 May, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
"from distutils.core import" it.
-
- 30 May, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 26 May, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
Changed the exception-handling code in 'setup()' to re-raise exceptions if DEBUG is true.
-
- 23 May, 2000 2 kayıt (commit)
- 12 May, 2000 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
Tweaked error-generating code.
-
- 22 Nis, 2000 2 kayıt (commit)
- 09 Nis, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 04 Nis, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
the Command class from core.py to cmd.py. No other code needs changing though; distutils.core still provides the Command and Distribution classes, although indirectly now.
-
- 31 Mar, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
Simplified 'Command.get_peer_option()' a tad -- just call 'find_peer()' to get the peer command object. Updated 'Command.copy_file()' to take a 'link' parameter, just like 'util.copy_file()' does now. Added 'Command.make_archive()' to wrap 'util.make_archive()'.
-
- 29 Mar, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
'has_ext_modules()', 'has_c_libraries()', 'has_modules()', and 'is_pure()'.
-
- 26 Mar, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
handle OSError and DistutilsExecError now.
-
- 22 Mar, 2000 2 kayıt (commit)
-
-
Greg Ward yazdı
longer needed, and can't possibly work anyways.
-
Greg Ward yazdı
Fix 'Command.set_undefined_option()' to call 'ensure_ready()' rather than 'finalize_options()' (which is only supposed to be called once, which is the whole point of 'ensure_ready()'). Added comment to 'set_peer_option()' to remind myself that this method cannot work and is fundamentally wrong-headed.
-
- 18 Mar, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
that broke parsing command-line options. Instead call it in 'Command.find_peer()', which is why I added it to 'find_command_obj()' in the first place.
-
- 02 Mar, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 01 Mar, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
'Distribution.find_command_obj()'.
-
- 26 Şub, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 18 Şub, 2000 3 kayıt (commit)
- 05 Şub, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
Typo fix.
-
- 30 Ock, 2000 1 kayıt (commit)
-
-
Greg Ward yazdı
* "--help" can now come either before or after particular commands to get help on and can give help on multiple commands, eg. "--help install dist" gives help on those two commands * added "--help-commands" option, implemented by the 'print_commands()' and 'print_command_list()' methods
-
- 16 Ara, 1999 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 12 Ara, 1999 1 kayıt (commit)
-
-
Greg Ward yazdı
want no output. Still no option for a happy medium though. Added "--help" global option. Changed 'parse_command_line()' to recognize help options (both for the whole distribution and per-command), and to distinguish "regular run" and "user asked for help" by returning false in the latter case. Also in 'parse_command_line()', detect invalid command name on command line by catching DistutilsModuleError. a 'negative_opt' class attribute right after 'global_options'; changed how we call 'fancy_getopt()' accordingly. Initialize 'maintainer' and 'maintainer_email' attributes to Distribution to avoid AttributeError when 'author' and 'author_email' not defined. Initialize 'help' attribute in Command constructor (to avoid AttributeError when user *doesn't* ask for help). In 'setup()': * show usage message before dying when we catch DistutilsArgError * only run commands if 'parse_command_line()' returned true (that way, we exit immediately when a help option is found) * catch KeyboardInterrupt and IOError from running commands Bulked up usage message to show --help options. Comment, docstring, and error message tweaks.
-
- 23 Eki, 1999 1 kayıt (commit)
-
-
Greg Ward yazdı
-
- 03 Eki, 1999 1 kayıt (commit)
-
-
Greg Ward yazdı
global options table. Every Command instance now has its own copies of the global options, which automatically fallback to the Distribution instance. Changes: - initialize them in constructor - added '__getattr__()' to handle the fallback logic - changed every 'self.distribution.{verbose,dry_run}' in Command to 'self.{verbose,dry_run}'. - filesystem utility methods ('copy_file()' et al) don't take 'update' parameter anymore -- instead we pass 'not force' to the underlying function as 'update' Changed parsing of command line so that global options apply to all commands as well -- that's how (eg.) Command.verbose will be initialized. Simplified 'make_file()' to use 'newer_group()' (from util module). Deleted some cruft. Some docstring tweaks.
-
- 29 Eyl, 1999 1 kayıt (commit)
-
-
Greg Ward yazdı
they make sure that 'set_final_options()' has been called, but isn't called redundantly. Changed Distribution to call 'ensure_ready()' where it used to call 'set_final_options()', and in a few extra places as well. Lots of comment/docstring revisions and additions in both classes. New one-liner utility methods in Command: 'find_peer()', 'spawn()'.
-
- 21 Eyl, 1999 1 kayıt (commit)
-
-
Greg Ward yazdı
'alias_options' table and getting rid of some hairy code in the Distribution constructor. Resurrected the distribution options that describe the modules present in the module distribution ('py_modules', 'ext_modules'), and added a bunch more: 'packages', 'package_dir', 'ext_package', 'include_dirs', 'install_path'. Updated some comments. Added 'warn()' method to Command. 'Command.get_command_name()' now stores generated command name in self.command_name.
-
- 13 Eyl, 1999 1 kayıt (commit)
-
-
Greg Ward yazdı
Error message tweak in Command.set_option(). Added Command.get_peer_option(). Added Command.move_file() wrapper.
-