News for hackers. Stuff that matters.
Re:How To Package Your Python Code by borntyping on Sunday November 18, 2012 @05:51PM (#4801981)
I put the version information inside the package, then anything with access to the package (which both setup.py and sphinx have) can access it - quite useful for doing things like checking the version number from the REPL, for instance.
Re:How To Package Your Python Code by rhettg on Sunday November 18, 2012 @08:33PM (#4802429)
It can be problematic to import your package from setup.py if you want your dependency specification to be useful.