Fix unittest run failure if pip<1.3.1.

* CHANGE Makefile test-before target to optionally include version and
   installed package information on gnupg2, pinentry, gpg-agent, and pip.
 * FIXES issue #15:
   https://github.com/isislovecruft/python-gnupg/issues/15
 * CLOSES issue #15.
fix/24-enc-to-file 1.2.2
Isis Lovecruft 2013-07-31 22:26:18 +00:00
parent 8cccef433d
commit 17faf6ac4f
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 6 additions and 4 deletions

View File

@ -32,13 +32,15 @@ cleanup-build:
mkdir buildnot
rm -rf build*
# it's not strictly necessary that gnupg2, gpg-agent, pinentry, or pip be
# installed, so ignore error exit statuses for those commands
test-before: cleanup-src cleanup-tests
which gpg && gpg --version
which gpg2 && gpg2 --version
which gpg-agent
which pinentry
-which gpg2 && gpg2 --version
-which gpg-agent
-which pinentry
which python && python --version
which pip && pip --version && pip list
-which pip && pip --version && pip list
test: test-before
python $(TESTHANDLE) basic encodings parsers keyrings listkeys genkey \