-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from ImperialCollegeLondon/update_docs2
Update installation instructions and CONTRIBUTING guidelines
- Loading branch information
Showing
2 changed files
with
74 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,38 @@ | ||
# Installation | ||
|
||
Create and activate new conda environment | ||
It is highly recommended to setup a virtual environment to install WSIMOD into. This | ||
way, its installation and that of its dependencies will not interfere with any other | ||
tool in your system. | ||
|
||
Here we use a `conda` environment which let us use the version of python we want to use, | ||
but you can use any other tool you are familiar with. | ||
|
||
```bash | ||
conda create --name wsimod python=3.10 | ||
conda activate wsimod | ||
``` | ||
|
||
Install a GUI if you like | ||
You can install the stable version of WSIMOD from [PyPI.org](https://pypi.org/) with: | ||
|
||
```bash | ||
conda install spyder -c conda-forge | ||
pip install wsimod | ||
``` | ||
|
||
Install WSIMOD directly from GitHub | ||
If you want to install the development version, you can innstall WSIMOD directly from | ||
GitHub with: | ||
|
||
```bash | ||
pip install https://github.com/barneydobson/wsi/archive/refs/heads/main.zip | ||
pip install git+https://github.com/ImperialCollegeLondon/wsi@main | ||
``` | ||
|
||
Use `[demos]` to include the demos and tutorials. | ||
Use `[demos]` to include the dependencies required to run the demos and tutorials. | ||
|
||
```bash | ||
pip install https://github.com/barneydobson/wsi/archive/refs/heads/main.zip | ||
pip install wsimod[demos] | ||
``` | ||
|
||
If you want to make changes WSIMOD you can download/clone this folder, navigate to it, and run: | ||
|
||
```bash | ||
python setup.py develop | ||
``` | ||
## Developing WSIMOD | ||
|
||
or (with demos) | ||
|
||
```bash | ||
python setup.py develop easy_install "wsimod[demos]" | ||
``` | ||
If you want to help developing WSIMOD, or just modify it locally for your own interests, | ||
please read throgh the [CONTRIBUTING guidelines](https://github.com/ImperialCollegeLondon/wsi/blob/main/docs/CONTRIBUTING.md) | ||
in the GitHub repository. |