Skip to content
This repository was archived by the owner on Aug 29, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
build/
coverage/
nosetests.xml
.tox/
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Configuration for Travis CI
# When making changes, make sure to also edit tox.ini file.

language: python

python:
Expand Down
25 changes: 25 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,31 @@ Or can be installed using easy_install::

$ easy_install aweber_api


Testing
=======

Place the client library into a virtualenv and execute the test suite by running the following command::

$ python setup.py nosetests

Also, the project can use tox to run against multiple versions of python. The tox package is available
from pypi here::

https://pypi.python.org/pypi/tox

Instructions for how to use and configure tox can be found here::

http://tox.readthedocs.org/en/latest/#

Currently, running tox will require that both python 2.6 and python 2.7 are installed.

Additional interpreters may be installed and the tox.ini file must be modified to include the
newly added interpreters. Once the interpreters are installed, the tests can be run via::

$ tox


Usage
=====

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
packages=find_packages(exclude=['tests']),
install_requires=[
'httplib2>=0.7.0',
'httplib2>=0.7.0,<=0.8.0',
'oauth2>=1.2',
],
tests_require=[
Expand Down
15 changes: 15 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# When making changes, make sure to also edit the .travis.yml file.

[tox]
envlist = py26, py27

[testenv]
commands = python setup.py nosetests []

deps =
nose
httplib2>=0.7.0,<=0.8.0
oauth2>=1.2
unittest2
coverage
dingus