Package animio :: Module setup :: Class GitSourceDistribution
[hide private]
[frames] | no frames]

Class GitSourceDistribution

source code

                   object --+    
                            |    
                    _GitMixin --+
                                |
                   object --+   |
                            |   |
             _RegressionMixin --+
                                |
    distutils.cmd.Command --+   |
                            |   |
distutils.command.sdist.sdist --+
                                |
                               GitSourceDistribution

Instead of creating an archive, we put the source tree into a git repository
Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Allows to configure some details, such as * remote name - name of the remote for which branches should be created/updated
source code
 
_sdist_directory(self)
Returns: direcory containing the source distribution
source code
 
finalize_options(self)
As the inheritance hierarchy is screwed up with old-style classes, we have to forward to the call manually to our bases ...
source code
 
make_archive(self, base_name, format, root_dir=None, base_dir=None) source code
 
make_distribution(self)
Make s source distribution, but set it up to allow post-testing if desired
source code

Inherited from _GitMixin: add_files_and_commit, branch_name, item_chooser, push_to_remotes, set_head_to, update_git

Inherited from _RegressionMixin: post_regression_test

Inherited from _RegressionMixin (private): _find_test_modules

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from distutils.command.sdist.sdist: add_defaults, check_metadata, get_archive_files, get_file_list, initialize_options, make_release_tree, prune_file_list, read_manifest, read_template, run, write_manifest

Inherited from distutils.cmd.Command: __getattr__, 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_file, mkpath, move_file, reinitialize_command, run_command, set_undefined_options, spawn, warn

Inherited from distutils.cmd.Command (private): _ensure_stringlike, _ensure_tested_string

Class Methods [hide private]

Inherited from _GitMixin: adjust_user_options

Static Methods [hide private]

Inherited from _GitMixin: __new__

Class Variables [hide private]
  branch_suffix = '-src'

Inherited from _GitMixin: prev_head_name

Inherited from _RegressionMixin: test_sub_dir

Inherited from distutils.command.sdist.sdist: boolean_options, default_format, description, help_options, negative_opt, user_options

Inherited from distutils.cmd.Command: sub_commands

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Allows to configure some details, such as * remote name - name of the remote for which branches should be created/updated
Overrides: __init__
(inherited documentation)

_sdist_directory(self)

source code 
Returns:
direcory containing the source distribution

Note: there is no official function for this ... its just in the code ...

finalize_options(self)

source code 
As the inheritance hierarchy is screwed up with old-style classes, we have to forward to the call manually to our bases ...
Overrides: distutils.cmd.Command.finalize_options

make_archive(self, base_name, format, root_dir=None, base_dir=None)

source code 
Overrides: distutils.cmd.Command.make_archive

make_distribution(self)

source code 
Make s source distribution, but set it up to allow post-testing if desired
Overrides: distutils.command.sdist.sdist.make_distribution