Ignore backup files
tests: avoid encoding literals

We only support Python 2.6 and later. There the b'...' syntax can be
used instead of doing a dummy encoding:

  https://docs.python.org/2/whatsnew/2.6.html#pep-3112-byte-literals
Merge pull request #47 from mgeisler/small-fixes

Small fixes
fixed ReadError when opening tar files

when using `--zvm-image=....,/,wo` tarfile.ReadError was raised
`zvshlib` tired to search for executable binary in all tar files
fixes issue #48
Merge pull request #49 from pkit/bug_fix

fixed ReadError when opening tar files
use image path only once in manifest file

image path for each image should appear only once in the manifest file
even if `zvsh` was provided with multiple `--zvm-image=` options for the same file
fixes issue #50
better handle multiple fstab entries

`nvram_fstab` was using `dict()` which does not provide mutiple entries for the same device
it's needed when the same file is mounted with different mount points or access flags
Merge pull request #51 from pkit/bug_fix

use image path only once in manifest file
added functional tests for zvm-image args

added more func tests for various `--zvm-image` arguments
Merge pull request #52 from pkit/tests

added functional tests for zvm-image args
Fix python3 compatibility

This includes fixes related to the use of strings/bytes as well
dict.iteritems().
Merge pull request #54 from larsbutler/fix-py3-compatibility

Fix Python 3 compatibility
tox.ini: break up test run command for readability

The main test run command is quite long. This breaks it into multiple
lines in the tox.ini file for better readability.
tox.ini: add {posargs} to test run command

This is useful because you can inject additional pytest flags and
arguments (for running in verbose mode, running specific tests, etc.).

So now, any of the pytest invocation options
(http://pytest.org/latest/usage.html) can be passed to tox, like so:

tox -e py27 -- -x -k test_foo
Merge pull request #55 from larsbutler/posargs-for-pytest

Add {posargs} for tox test run config
setup: use setuptools over distutils

Distutils is the stdlib packaging tool. However, setuptools is the
preferred tool for projects that define dependencies:

  https://python-packaging-user-guide.readthedocs.org/en/latest/current.html

Setuptools is a dependency of virtualenv and pip, so most developers
will have it installed.

Using setuptools means that the dependencies will be automatically
installed when running 'python setup.py install'. This is important
for the Read The Docs build since it installs the project like that
instead of using pip.

If setuptools is not present, a warning is printed and the
installation/packaging can continue.
Merge pull request #56 from mgeisler/setuptools

setup: use setuptools over distutils
Add missing __init__.py to tests/functional pkg
Merge pull request #57 from larsbutler/missing-test-mod-init

Add missing __init__.py to tests/functional pkg