I've written a bit of code to add version information to Django models. I'd like to 开发者_C百科release it out into the wild.
So, what's the best way to structure the project and also package it for distribution?
Thanks!
Here are some hints.
You should package your app up and upload it to pypi. Follow the guide here. It's a simple process. Make sure you have documentation, a README and LICENSE. Tests are pretty huge. Most people won't even bother with your app if you don't have tests. Django Pluggable Patterns is a great talk from Pycon 2011 about best practices for Django apps.
精彩评论