Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
borntyping
on Nov 18, 2012
|
parent
|
context
|
favorite
| on:
How To Package Your Python Code
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.
rhettg
on Nov 19, 2012
[–]
It can be problematic to import your package from setup.py if you want your dependency specification to be useful.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: