mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 15:42:10 +03:00
address @flub comments
This commit is contained in:
@@ -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::
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user