|
|
initialize_options(self)
Set default values for all the options that this command supports. |
|
|
|
|
finalize_options(self)
Set final values for all the options that this command supports. |
|
|
|
|
run(self)
A command's raison d'etre: carry out the action it exists to perform,
controlled by the options initialized in 'initialize_options()',
customized by other commands, the setup script, the command-line, and
config files, and finalized in 'finalize_options()'. |
|
|
|
|
check_metadata(self)
Ensure that all required elements of meta-data (name, version, URL,
(author and author_email) or (maintainer and maintainer_email)) are
supplied by the Distribution object; warn if any are missing. |
|
|
|
|
get_file_list(self)
Figure out the list of files to include in the source distribution,
and put it in 'self.filelist'. |
|
|
|
|
add_defaults(self)
Add all the default files to self.filelist: |
|
|
|
|
read_template(self)
Read and parse manifest template file named by self.template. |
|
|
|
|
prune_file_list(self)
Prune off branches that might slip into the file list as created... |
|
|
|
|
write_manifest(self)
Write the file list in 'self.filelist' (presumably as filled in by
'add_defaults()' and 'read_template()') to the manifest file named by
'self.manifest'. |
|
|
|
|
read_manifest(self)
Read the manifest file (named by 'self.manifest') and use it to fill
in 'self.filelist', the list of files to include in the source
distribution. |
|
|
|
|
make_release_tree(self,
base_dir,
files)
Create the directory tree that will become the source distribution
archive. |
|
|
|
|
|
|
|
get_archive_files(self)
Return the list of archive files created when the command was run, or
None if the command hasn't run yet. |
|
|
|
Inherited from cmd.Command:
__getattr__,
__init__,
announce,
copy_file,
copy_tree,
debug_print,
dump_options,
ensure_dirname,
ensure_filename,
ensure_finalized,
ensure_string,
ensure_string_list,
execute,
get_command_name,
get_finalized_command,
get_sub_commands,
make_archive,
make_file,
mkpath,
move_file,
reinitialize_command,
run_command,
set_undefined_options,
spawn,
warn
|
|
|
description = 'create a source distribution (tarball, zip file...
|
|
|
user_options = [('template=', 't', 'name of manifest template ...
|
|
|
boolean_options = ['use-defaults', 'prune', 'manifest-only', '...
|
|
|
help_options = [('help-formats', None, 'list available distrib...
|
|
|
negative_opt = {'no-defaults': 'use-defaults', 'no-prune': 'pr...
|
|
|
default_format = {'nt': 'zip', 'posix': 'gztar'}
|
|
Inherited from cmd.Command:
sub_commands
|