跳转到主要内容

为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 (9.9 kB 查看哈希值)

上传时间 源码

支持者