register_commands

astropy_helpers.setup_helpers.register_commands(package=None, version=None, release=None, srcdir='.')

This function generates a dictionary containing customized commands that can then be passed to the cmdclass argument in setup().