Skip to content

Commit

Permalink
Add info about how to run tests; remove python 3.2 from supported ver…
Browse files Browse the repository at this point in the history
…sions
  • Loading branch information
sblondon committed Oct 9, 2017
1 parent a490081 commit acfb2ad
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
23 changes: 22 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Python library for reading IMAP mailboxes and converting email content to machin
Requirements
------------

Python (3.2, 3.3, 3.4, 3.5, 3.6)
Python (3.3, 3.4, 3.5, 3.6)


Installation
Expand Down Expand Up @@ -114,4 +114,25 @@ Usage
}
Changelog
---------

`Changelog <https://github.com/martinrusev/imbox/blob/master/CHANGELOG.md>`_


Running the tests
-----------------

You can run the imbox tests with ``tox``.

Requirements:
* the supported python versions
* ``tox``. Tox is packaged in Debian and derivatives distributions.

On Ubuntu, you can install several python versions with:

.. code:: sh
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.X
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def read(filename):
zip_safe=False,
classifiers=(
'Programming Language :: Python',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[tox]
envlist = py33,py34,py35,py36

[testenv]
deps=nose
commands=nosetests -v

0 comments on commit acfb2ad

Please sign in to comment.