commit | 9821bf4e62bcb7d503aed782a8f6398e5de720af | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Tue Aug 29 01:15:18 2000 +0000 |
committer | Greg Ward <gward@python.net> | Tue Aug 29 01:15:18 2000 +0000 |
tree | 4727c267ef2488568ee3d8bb945c592d9c61c16e | |
parent | 31f182e830db13c3edbe12e58f9c737cc21583fa [diff] |
Added 'script_name' and 'script_args' instance attributes to Distribution. 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]'.