Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pypi-install: test script

  • Loading branch information...
commit aaf42e671b698c98588caeafbc5c793631afbf2b 1 parent 0de875a
@astraw authored
Showing with 25 additions and 0 deletions.
  1. +25 −0 test-pypi-install.sh
View
25 test-pypi-install.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+set -e
+
+# Package with source tarball on PyPI:
+pypi-install pyflakes --verbose=2
+sudo dpkg --purge python-pyflakes
+
+# Package with no source tarball on PyPI: (v 0.6.2, 2009-12-30)
+pypi-install posix_ipc --verbose=2
+sudo dpkg --purge python-posixipc
+
+echo "skipping known failure tests"
+exit 0
+
+# Known failing tests: A pure python package with source zip on
+# PyPI. (This fails because stdeb doesn't handle .zip source
+# archives.)
+pypi-install zope.site --verbose=2
+
+# A pure python package with source tarball on PyPI. (This fails if
+# the Debian/Ubuntu original "pyro" package is already
+# installed. This should use apt-file to find that binary package is
+# "pyro".)
+sudo apt-get install pyro # get upstream version
+pypi-install Pyro --verbose=2
Please sign in to comment.
Something went wrong with that request. Please try again.