Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Helper utiltiies for distutils such as checking the sanity of an sdist

Project Description

Introduction

DistChecker helps with testing project sdist’s. Once installed the distchecker command will be available. So far all commands are expected to be run against a directory which is a project egg directory.

Initial setup can be generated by running:

distchecker --setup-config

Example usage is as follows:

# 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

Please be aware that the temporary virtualenv directories created are not currently removed due to debugging purposes.

Credits

  • Creator and Maintainer: Rocky Burt - rocky AT serverzen DOT com

Changes

1.0 - Dec 18, 2012

  • Cleaned up a little
  • Posted to bitbucket

0.2 - Mar 3, 2011

  • The test_sdist command no longer needs a directory argument
  • Directory structure reworked – tests added

0.1.1 - Feb 26, 2011

  • Made compare_sdist a little easier to use

0.1 - Dec 2, 2010

  • First release
Release History

Release History

This version
History Node

1.0

History Node

0.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
DistChecker-1.0.tar.gz (9.9 kB) Copy SHA256 Checksum SHA256 Source Dec 18, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting