Hello,
I developed some moderate-sized python scripts that I would like to distribute
as python modules. I have never shipped modules before and I read
http://docs.python.org/distutils/index.html. I was able to generate a source
distribution, but I still have some questions.
1) My module
1) IMHO, these should be two distinct steps. You will definitely want to run
unit tests without sdist and likewise, I'm sure you'll want to sdist without
unit tests. Personally, if I wanted to combine the two, I'd create tasks in a
makefile and just run something along the lines of: make unit
I should also mention that these are just my personal best practices that I've
put together during my time working with/on OS projects. You'll almost never
find two projects with identical packaging, so really at the end of the day,
it's totally up to you and your particular project