address @flub comments

This commit is contained in:
holger krekel
2019-08-11 22:41:03 +02:00
parent 1bde9b4dd3
commit f0497b17ea
2 changed files with 5 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ without any "build-from-source" steps.
1. `Install virtualenv <https://virtualenv.pypa.io/en/stable/installation/>`_,
then create a fresh python environment and activate it in your shell::
virtualenv -p python3 venv
virtualenv venv # or: python -m venv
source venv/bin/activate
Afterwards, invoking ``python`` or ``pip install`` will only
@@ -56,17 +56,16 @@ to core deltachat library::
cd deltachat-core-rust
cd python
It is always a good idea to create a python "virtualenv".
Install "virtualenv" on your system and run::
If you don't have one active, create and activate a python "virtualenv":
virtualenv venv
python virtualenv venv # or python -m venv
source venv/bin/activate
Afterwards ``which python`` tells you that it comes out of the "venv"
directory that contains all python install artifacts. Let's first
install test tools::
pip install pytest pytest-timeout pytest-faulthandler requests
pip install pytest pytest-timeout requests
then cargo-build and install the deltachat bindings::

View File

@@ -8,7 +8,7 @@ envlist =
[testenv]
commands =
pytest -s -v -rsXx {posargs:tests}
pytest -v -rsXx {posargs:tests}
python tests/package_wheels.py {toxworkdir}/wheelhouse
passenv =
TRAVIS