资 源 简 介
# backport #
`backport` is distributed as a Python _project template_ that demonstrates a streamlined project layout for developing and distributing packages that support both Python 3 and Python 2 using a single code base.
* **Easily test original _and_ translated code**: Import hooks automatically redirect imports to translated code as appropriate.
* **Reduce wait times:** Only translates files that have been modified.
* **Simple test script:** A simple shell script (and batch file) for stand-alone testing under multiple versions of Python on Linux, Windows, and Mac OS.
* **Can be dropped-in to existing projects:** No dependencies outside the Standard Library (3to2 is needed for development but not for distribution).
When porting becomes a project, itself, it oftentimes doesn"t happen. The process is much easier if you can build a ported version incrementally with every edit/test cycle. Backport aims to ease 3to2 integration with the development process and allow progra