I have a library called \"example\" that I\'m installing into my global site-packages directory. However, I\'d like to be able to install two versions, one for production a
See Alex's answer if you want a way to do this with distutils, but I find Paver to be better for this kind of thing. It makes it a lot easier to make custom commands or override existing ones. Plus the transition isn't terribly difficult if you're used to distutils or setuptools.