首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > Python项目3to2测试集成。

Python项目3to2测试集成。

资 源 简 介

# 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

文 件 列 表

project_template
mypackage
tests
py2src_noedit
runtests.py
backport.py
README.txt
setup.py
mypackage
__init__.py
mymodule.py
tests
__init__.py
test_mymodule.py
test_mymodule.py
__init__.py
VIP VIP
0.180614s