diff --git a/README.rst b/README.rst index 2cb91ecc..e7871d66 100644 --- a/README.rst +++ b/README.rst @@ -18,8 +18,6 @@ If you want to get involved in the community, need help with getting setup, have any issues related with the library or just want to discuss Blockchain, Distributed Ledgers and IoT with other people, feel free to join our `Discord`_. -You can also ask questions on our `dedicated forum`_. - If you encounter any issues while using PyOTA, please report them using the `PyOTA Bug Tracker`_. @@ -61,14 +59,14 @@ To run unit tests after installing from source:: PyOTA is also compatible with `tox`_, which will run the unit tests in different virtual environments (one for each supported version of Python). -To run the unit tests, it is recommended that you use the `detox`_ library. -detox speeds up the tests by running them in parallel. +To run the unit tests, it is recommended that you use the ``-p`` argument. +This speeds up the tests by running them in parallel. Install PyOTA with the ``test-runner`` extra to set up the necessary -dependencies, and then you can run the tests with the ``detox`` command:: +dependencies, and then you can run the tests with the ``tox`` command:: pip install -e .[test-runner] - detox -v + tox -v -p all ============= Documentation @@ -98,10 +96,8 @@ can also build the documentation locally: make html .. _Create virtualenv: https://realpython.com/blog/python/python-virtual-environments-a-primer/ -.. _Discord: https://discord.gg/7Gu2mG5 +.. _Discord: https://discord.iota.org/ .. _PyOTA Bug Tracker: https://github.com/iotaledger/iota.lib.py/issues .. _ReadTheDocs: https://pyota.readthedocs.io/ -.. _dedicated forum: https://forum.iota.org/ -.. _detox: https://pypi.python.org/pypi/detox -.. _official API: https://iota.readme.io/ +.. _official API: https://docs.iota.org/docs/node-software/0.1/iri/references/api-reference .. _tox: https://tox.readthedocs.io/ diff --git a/setup.py b/setup.py index 4a0aac69..cf2d8691 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,8 @@ extras_require={ 'ccurl': ['pyota-ccurl'], 'docs-builder': ['sphinx', 'sphinx_rtd_theme'], - 'test-runner': ['detox'] + tests_require, + # tox is able to run the tests in parallel since version 3.7 + 'test-runner': ['tox >= 3.7'] + tests_require, }, test_suite='test', diff --git a/tox.ini b/tox.ini index 080f4998..3220f263 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,4 @@ -# Tox (http://tox.testrun.org/) is a tool for running tests +# Tox (https://tox.readthedocs.io/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory.