Skip to content
Snippets Groups Projects
Commit 5ee4717a authored by davidovitch's avatar davidovitch
Browse files

docs: use --no-deps instead of --no-update-dependencies, pytest-cov from anaconda channel

parent 64141ca5
No related branches found
No related tags found
No related merge requests found
...@@ -145,15 +145,15 @@ use ```deactivate``` to deactivate the environment. ...@@ -145,15 +145,15 @@ use ```deactivate``` to deactivate the environment.
Install the necessary Python dependencies using the conda package manager: Install the necessary Python dependencies using the conda package manager:
``` ```
>> conda install setuptools_scm future h5py pytables pytest nose sphinx blosc prb paramiko >> conda install setuptools_scm future h5py pytables pytest pytest-cov nose sphinx blosc pbr paramiko
>> conda install scipy pandas matplotlib cython xlrd coverage xlwt openpyxl psutil pandoc >> conda install scipy pandas matplotlib cython xlrd coverage xlwt openpyxl psutil pandoc
>> conda install -c https://conda.anaconda.org/conda-forge pyscaffold pytest-cov --no-channel-priority --no-update-dependencies >> conda install -c https://conda.anaconda.org/conda-forge pyscaffold --no-deps
``` ```
Note that ```--no-channel-priority``` avoids that newer packages from the Note that ```--no-deps``` avoids that newer packages from the channel
```conda-forge``` will be used instead of those from the default ```anaconda``` ```conda-forge``` will be used instead of those from the default ```anaconda```
channel. Depending on which packages get overwritten, this might brake your channel. Depending on which packages get overwritten, this might brake your
Anaconda root environment. As such, using ```--no-channel-priority``` should be Anaconda root environment. As such, using ```--no-deps``` should be
be used for safety (especially when operating from the root environment). be used for safety (especially when operating from the root environment).
...@@ -179,6 +179,11 @@ or via tortoise-git: ...@@ -179,6 +179,11 @@ or via tortoise-git:
>> pip install -e . --no-deps >> pip install -e . --no-deps
``` ```
Note that the ```no-deps``` option here is used for the same reason as explained
above for the ```conda-forge``` channel: it is to avoid that pip will replace
newer packages compared to the ones as available in the ```Anaconda``` channel.
## Contributions ## Contributions
If you make a change in the toolbox, that others can benefit from please make a merge request. If you make a change in the toolbox, that others can benefit from please make a merge request.
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
Install the necessary Python dependencies using the ```conda``` package manager: Install the necessary Python dependencies using the ```conda``` package manager:
``` ```
>> conda install setuptools_scm future h5py pytables pytest nose sphinx blosc pbr paramiko >> conda install setuptools_scm future h5py pytables pytest pytest-cov nose sphinx blosc pbr paramiko
>> conda install scipy pandas matplotlib cython xlrd coverage xlwt openpyxl psutil pytest-cov >> conda install scipy pandas matplotlib cython xlrd coverage xlwt openpyxl psutil
>> conda install -c https://conda.anaconda.org/conda-forge pyscaffold --no-update-dependencies >> conda install -c https://conda.anaconda.org/conda-forge pyscaffold --no-deps
``` ```
Now you can install ```wetb``` with ```pip``` (there is no ```conda``` package Now you can install ```wetb``` with ```pip``` (there is no ```conda``` package
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment