Imported WePayError on the example script
Merge pull request #8 from aroundthesea/master

Added error_code in return with WePayException
Merge pull request #7 from abrutus/master

Importing WePayError into wepay-example.py
Add requests dependency
Use python-requests to make rpc calls
Deal with request exceptions
Merge pull request #10 from aroundthesea/master

Change from distutils to setuptools
Merge pull request #11 from aroundthesea/master

Added changelog
Merge pull request #12 from aroundthesea/master

Edited version_str
Merge branch 'use-requests' of github.com:kevinjqiu/Python-SDK into kevinjqiu-use-requests

Conflicts:
	setup.py
update version and changelog
fix typo
ignore pypirc file
Fix WePayError.

Python's base class `Exception` takes only a single parameter as
"message":

```
>>> Exception("foo").message
'foo'
```

but if you pass more arguments to the `Exception` constructor, it
doesn't populate the `message` field:

```
>>> Exception("foo", "bar", "quux").message
''
```

Here's the corresponding Python source code:

```c
static int
BaseException_init(PyBaseExceptionObject *self, PyObject *args, PyObject *kwds)
{
    if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds))
        return -1;

    Py_DECREF(self->args);
    self->args = args;
    Py_INCREF(self->args);

    if (PyTuple_GET_SIZE(self->args) == 1) {
        Py_CLEAR(self->message);
        self->message = PyTuple_GET_ITEM(self->args, 0);
        Py_INCREF(self->message);
    }
    return 0;
}
```
You can see it sets `self->message` to `args[0]` if the size of the
tuple is 1. Otherwise, it skips setting `self->message`.
Delay importing requests so we don't get `ImportError` when running setup.

`setup.py` needs to access `wepay.VERSION`, and the `wepay` module imports
`wepay.api` which depends on `requests`, but at the time setup is
running, `requests` library has not been installed (will be installed as
part of `install_requires` specified in setup.py). This fix breaks the
circular import by delaying importing `requests` until a `WePay` object
is instantiated.
Merge pull request #14 from kevinjqiu/fix-setup

Delay importing requests so we don't get `ImportError` when running setup
Merge pull request #13 from kevinjqiu/fix-wepay-exception

Fix WePayError.
Update CHANGELOG.md
Updated version number
Update CHANGELOG.md