Skip to content

Commit 9dbd1c3

Browse files
authored
Update instructions in reamde for conda/pip install (#110)
* Update conda forge and pip install instruction * Add news
1 parent 9840e0d commit 9dbd1c3

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,10 @@ To add "conda-forge" to the conda channels, run the following in a terminal. ::
7474
We want to install our packages in a suitable conda environment.
7575
The following creates and activates a new environment named ``diffpy.snmf_env`` ::
7676

77-
conda create -n diffpy.snmf_env python=3
77+
conda create -n diffpy.snmf_env diffpy.snmf
7878
conda activate diffpy.snmf_env
7979

80-
Then, to fully install ``diffpy.snmf`` in our active environment, run ::
81-
82-
conda install diffpy.snmf
83-
84-
Another option is to use ``pip`` to download and install the latest release from
80+
If the above does not work, you can use ``pip`` to download and install the latest release from
8581
`Python Package Index <https://pypi.python.org>`_.
8682
To install using ``pip`` into your ``diffpy.snmf_env`` environment, type ::
8783

news/update-install.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* <news item>
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* Updated REAMDE instructions for pip and conda-forge install
20+
21+
**Security:**
22+
23+
* <news item>

0 commit comments

Comments
 (0)