How to support both Python 2.x and 3.x

Issue #10 new
Craig McQueen
created an issue

I'm writing a package, initially supporting Python 2.x. Now I'd like to add support for Python 3.x. I'd like to know what is the best way to arrange the package files to support Python 2.x and 3.x.

What is the best way to lay out the directory structure? How do I make the 2.x and 3.x editions available to PyPI in the best way for easiest use by users?

It would be good for this to be explained in the guide.