-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding info to use requirements.txt for development with conda
- Loading branch information
1 parent
667b769
commit f092ca9
Showing
1 changed file
with
3 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,11 +30,11 @@ git clone [email protected]:PtyLab/PtyLab.py.git | |
cd PtyLab.py | ||
``` | ||
|
||
Inside a virtual environment (preferably with conda), please install `ptylab` and its dependencies: | ||
Inside a virtual environment (preferably with conda), please install `ptylab` and its dependencies from the pinned versions specified under `requirements.txt`: | ||
```bash | ||
conda create --name ptylab_venv python=3.11.5 # or python version satisfying ">=3.9, <3.12" | ||
conda activate ptylab_venv | ||
pip install -e .[dev] | ||
pip install -e . -r requirements.txt | ||
``` | ||
|
||
To use the GPU, `cupy` can be additionally installed in this environment. | ||
|
@@ -43,7 +43,7 @@ To use the GPU, `cupy` can be additionally installed in this environment. | |
conda install -c conda-forge cupy | ||
``` | ||
|
||
If you would like to contribute to this package, please checkout the [`CONTRIBUTING.md`](CONTRIBUTING.md) file. | ||
If you would like to contribute to this package, especially if it involves modifying dependencies, please checkout the [`CONTRIBUTING.md`](CONTRIBUTING.md) file. | ||
|
||
## Citation | ||
|
||
|