astropy_helpers.setup_helpers.
register_commands
This function generates a dictionary containing customized commands that can then be passed to the cmdclass argument in setup().
cmdclass
setup()
API Documentation
get_package_info