"make" things easier

This commit is contained in:
Junzi Sun
2019-10-29 17:53:39 +01:00
parent 13b283666a
commit dfeb65fbd7
3 changed files with 24 additions and 14 deletions

View File

@@ -321,8 +321,19 @@ Here is an example:
Unit test
---------
To perform unit tests. First, install ``tox`` through pip. Then, run the following commands:
To perform unit tests, ``pytest`` must be install first.
.. code:: bash
Build Cython extensions
::
$ tox
$ make ext
Run unit tests
::
$ make test
Clean build files
::
$ make clean