1import distutils.command.register as orig 2 3 4class register(orig.register): 5 __doc__ = orig.register.__doc__ 6 7 def run(self): 8 # Make sure that we are using valid current name/version info 9 self.run_command('egg_info') 10 orig.register.run(self) 11