Hello,

I am preparing a package for distribution using distutils and when writing the setup.py, i want to specific meta-data like version, author, maintainer ...etc.

My question is, assuming that I already have all of that information in the package's __init__.py as __<meta-data>__ variables(*), is it considered good 'style' to import the module one is packaging, in the setup.py to access these variables ?

cheers,
- steve

(*) can't find a reference for doing this in the docs, but I think doing this is a pretty strong convention -- I've seen in most (all?) standard modules as well as third party modules do this.

--
random spiel: http://lonetwin.net/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to