Skip to content

Commit 693414d

Browse files
committed
add testing for version prompt
1 parent 9fabfc4 commit 693414d

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,25 +105,26 @@ Then, to fully install ``diffpy.pdffit2`` in our active environment, run ::
105105
Another option is to use ``pip`` to download and install the latest release from
106106
`Python Package Index <https://pypi.python.org>`_.
107107

108-
Ensure that you have a C++ compiler and the necessary dependencies installed mentioned above:
109-
110-
To install using ``pip`` into your ``diffpy.pdffit2_env`` environment, type ::
108+
To install the C++ compiler and required dependencies in you ``diffpy.pdffit2_env`` environment, type ::
111109

112110
conda install \
113-
--file requirements/test.txt \
114111
--file requirements/run.txt \
115112
--file requirements/build.txt
116113

117114
And then type ::
118115

119116
pip install diffpy.pdffit2
120117

121-
If you prefer to install from sources, after installing the dependencies above, obtain the source archive from
118+
If you prefer to install from sources, after installing the dependencies above in the ``diffpy.pdffit2_env`` , obtain the source archive from
122119
`GitHub <https://github.com/diffpy/diffpy.pdffit2/>`_. Once installed, ``cd`` into your ``diffpy.pdffit2`` directory
123120
and run the following ::
124121

125122
pip install .
126123

124+
To confirm that the installation was successful, run the following in a terminal ::
125+
126+
python -c "import diffpy.pdffit2; print(diffpy.pdffit2.__version__)"
127+
127128
Support and Contribute
128129
----------------------
129130

0 commit comments

Comments
 (0)