borntyping's comments

borntyping | 13 years ago | on: How To Package Your Python Code

It sounds like you're trying to package an entire application, not a python package. If thats the case, maintaining and distributing it may be simplest to do with a git repository.

borntyping | 13 years ago | 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.

borntyping | 13 years ago | on: How To Package Your Python Code

Because the only difference there is neater indentation, which you could do using the keywords method.

Additionally, there's no point checking that the script is the main file, as there's only ever one use-case for the script, and that's to call setuptools.

page 2