function to find the modification date of the project

James Mills prologic at shortcircuit.net.au
Mon Jan 19 18:28:01 EST 2009


On Tue, Jan 20, 2009 at 9:19 AM, Joe Strout <joe at strout.net> wrote:
> James Mills wrote:
>
>> You know you could just store a __version__
>> attribute in your main library (__init__.py). :)
>
> What, and update it manually?  I don't trust myself to remember to do that
> every time!

If you read my post carefully you'll have seen
that I in fact do not update it manually.

It's updated when I do:

$ python setup.py sdist

or bdist or bdist_egg

cheers
James



More information about the Python-list mailing list