-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions for installing pinned requirements and prepare relea…
…se (#108) * Update the README before releasing * Add note about changelog * Bump version to v0.1.13
- Loading branch information
Showing
2 changed files
with
27 additions
and
5 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 |
---|---|---|
|
@@ -33,13 +33,15 @@ See the MODNet papers and repositories below for more details: | |
<a name="install"></a> | ||
## How to install | ||
|
||
First, create a virtual environment (e.g., named modnet) with Python 3.8: | ||
First, create a virtual environment (e.g., named modnet) with Python 3.8 using | ||
your favourite environment manager (the following instructions use | ||
[conda](https://docs.conda.io/)): | ||
|
||
```shell | ||
conda create -n modnet python=3.8 | ||
``` | ||
|
||
activate the environment: | ||
Activate the environment: | ||
|
||
```shell | ||
conda activate modnet | ||
|
@@ -51,16 +53,36 @@ Then, install pymatgen v2020.8.13 with conda, which will bundle several pre-buil | |
conda install -c conda-forge pymatgen=2020.8.13 | ||
``` | ||
|
||
Finally, install MODNet from PyPI with pip: | ||
(you could alternatively do this step with `pip install pymatgen==2020.8.13`). | ||
|
||
```bash | ||
Finally, install MODNet from PyPI with `pip`: | ||
|
||
```shell | ||
pip install modnet | ||
``` | ||
|
||
Alternatively, for local development (or if you wish to use pinned | ||
dependencies that MODNet has been tested with), you can clone this git | ||
repository and make an editable install inside your chosen environment with `pip`: | ||
|
||
```shell | ||
git clone [email protected]:ppdebreuck/modnet | ||
cd modnet | ||
conda create -n modnet python=3.8 | ||
conda activate modnet | ||
pip install -r requirements.txt # optionally use pinned requirements | ||
pip install -e . | ||
``` | ||
|
||
|
||
<a name="documentation"></a> | ||
## Documentation | ||
The documentation is available at [ReadTheDocs](https://modnet.readthedocs.io). | ||
|
||
<a name="changelog"></a> | ||
## Changelog | ||
A brief changelog can be found in the [release summaries on GitHub](https://github.com/ppdebreuck/modnet/releases). | ||
|
||
<a name="author"></a> | ||
## Author | ||
This software was written by [Pierre-Paul De Breuck](mailto:[email protected]) and [Matthew Evans](https://www.github.com/ml-evs) with contributions from David Waroquiers and Gregoire Heymans. | ||
|
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 +1 @@ | ||
__version__ = "0.1.12" | ||
__version__ = "0.1.13" |