Browse files

pypi-install: test script

  • Loading branch information...
astraw committed Dec 30, 2009
1 parent 0de875a commit aaf42e671b698c98588caeafbc5c793631afbf2b
Showing with 25 additions and 0 deletions.
  1. +25 −0
@@ -0,0 +1,25 @@
+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 --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

0 comments on commit aaf42e6

Please sign in to comment.