mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +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/>`_,
|
1. `Install virtualenv <https://virtualenv.pypa.io/en/stable/installation/>`_,
|
||||||
then create a fresh python environment and activate it in your shell::
|
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
|
source venv/bin/activate
|
||||||
|
|
||||||
Afterwards, invoking ``python`` or ``pip install`` will only
|
Afterwards, invoking ``python`` or ``pip install`` will only
|
||||||
@@ -56,17 +56,16 @@ to core deltachat library::
|
|||||||
cd deltachat-core-rust
|
cd deltachat-core-rust
|
||||||
cd python
|
cd python
|
||||||
|
|
||||||
It is always a good idea to create a python "virtualenv".
|
If you don't have one active, create and activate a python "virtualenv":
|
||||||
Install "virtualenv" on your system and run::
|
|
||||||
|
|
||||||
virtualenv venv
|
python virtualenv venv # or python -m venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|
||||||
Afterwards ``which python`` tells you that it comes out of the "venv"
|
Afterwards ``which python`` tells you that it comes out of the "venv"
|
||||||
directory that contains all python install artifacts. Let's first
|
directory that contains all python install artifacts. Let's first
|
||||||
install test tools::
|
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::
|
then cargo-build and install the deltachat bindings::
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ envlist =
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
pytest -s -v -rsXx {posargs:tests}
|
pytest -v -rsXx {posargs:tests}
|
||||||
python tests/package_wheels.py {toxworkdir}/wheelhouse
|
python tests/package_wheels.py {toxworkdir}/wheelhouse
|
||||||
passenv =
|
passenv =
|
||||||
TRAVIS
|
TRAVIS
|
||||||
|
|||||||
Reference in New Issue
Block a user