I have an open-source Python project (called GarlicSim), and I maintain 4 different versions of it for Python versions 2.4, 2.5, 2.6 and 3.1. Yes, maybe it's unusual, but I like using as much features as possible. I keep them in 4 different forks of the repository.
Now I want to upload my project to the cheeseshop. What's the way to do this? I expect that a user will automatically get the version of GarlicSim appropriate for his Python version. How do I do tha开发者_开发问答t?
python2.4 setup.py bdist_egg upload
python2.5 setup.py bdist_egg upload
python2.6 setup.py bdist_egg upload
python3.1 setup.py bdist_egg upload
精彩评论