I’m using setuptools 0.6c11.

 

I’d like to programmatically customize the way the egg_info command is run. That is, in my setup.py, I would like to run some functions to determine the tag-build, tag-date, and tag-svn-revision parameters to egg_info. Are there parameters

 

How is this task best accomplished? Do I subclass the egg_info Command? If so, do I just specify cmdclass={‘egg_info’:my_custom_egg_info} ?  Or would you recommend another approach?

 

Regards,

Jason