为distutils等工具提供辅助功能,例如检查sdist的合理性
项目描述
简介
DistChecker可以帮助测试项目的sdist。安装后,将会提供distchecker命令。目前,所有命令都预期在项目egg目录下运行。
可以通过以下命令生成初始设置
distchecker --setup-config
以下是一个示例用法
# check to make sure the generated sdist is the same as the source # files contained in the development directory distchecker compare_sdist SomeEggDir # install the given egg into a fresh virtualenv and print out # information such as test coverage and the exact snapshot # of dependent eggs that was used distchecker test_sdist SomeEggDir # in this case SomeEggDir is expected to be an egg # providing a paster template ... running the command # will install the egg into a fresh virtualenv and then # create a new egg based on the given paster template and # run its tests distchecker test_paster_template SomeEggDir somepastertemplate
请注意,由于调试目的,目前不会删除创建的临时虚拟env目录。
重要URL
致谢
创建者和维护者:Rocky Burt - rocky AT serverzen DOT com
变更
1.0 - 2012年12月18日
进行了一些清理
发布到bitbucket
0.2 - 2011年3月3日
test_sdist命令不再需要目录参数
目录结构重构 – 添加了测试
0.1.1 - 2011年2月26日
使compare_sdist更容易使用
0.1 - 2010年12月2日
第一次发布
项目详情
关闭
DistChecker-1.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c4465b4e54d3691dfc859d721a8e056b02052c8daee1fda873dd885c2939b297 |
|
MD5 | 6eaca5a1d4fb35c7c38d8df9f5b955af |
|
BLAKE2b-256 | 7f31729e3652eaa423b3ca8933db1c4151f3e3624b39e4e789c793e03230f766 |