Skip to content

Commit

Permalink
Add instructions for installing pinned requirements and prepare relea…
Browse files Browse the repository at this point in the history
…se (#108)

* Update the README before releasing

* Add note about changelog

* Bump version to v0.1.13
  • Loading branch information
ml-evs authored Nov 4, 2022
1 parent 1fbf7b2 commit 86b8caa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
30 changes: 26 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion modnet/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.12"
__version__ = "0.1.13"

0 comments on commit 86b8caa

Please sign in to comment.