-
Notifications
You must be signed in to change notification settings - Fork 0
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 #91 from ANNUBS/update_installation_docs_gcroci2
docs: add pypi installation
- Loading branch information
Showing
2 changed files
with
29 additions
and
13 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,17 +1,25 @@ | ||
# Installation | ||
|
||
## Repository installation | ||
We advise to install the package inside a virtual environment (using [conda](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [venv](https://docs.python.org/3/library/venv.html)). Make sure to create an environment containing a Python version >=3.11 and pip package installer. | ||
|
||
After having created and activated your environment, you have two ways for installing ANNUBeS. | ||
|
||
We advise to install the package inside a virtual environment (using [conda](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [venv](https://docs.python.org/3/library/venv.html)). | ||
## Pip installation | ||
|
||
After having created and activated your environment, to install ANNUBeS from GitHub repository, do: | ||
This is the **recommended installation for users**. | ||
|
||
```console | ||
pip install annubes | ||
``` | ||
|
||
This command will install the latest version of the package [deployed on PyPI](https://pypi.org/project/annubes/). | ||
|
||
## Repository installation | ||
|
||
```console | ||
git clone git@github.com:ANNUBS/annubes.git | ||
cd annubes | ||
pip install . | ||
``` | ||
|
||
## PyPI installation | ||
|
||
Under development. | ||
The above commands will install the most recent version of the repository, using the default branch (main). |