@@ -20,7 +20,7 @@ is available in the doc/Farrow-jpcm-2007.pdf paper.
2020REQUIREMENTS
2121------------------------------------------------------------------------
2222
23- PDFgui requires Python 3.7, 3.6, 3.5 or 2.7 and several third-party
23+ PDFgui requires Python 3.7 or later or 2.7 and several third-party
2424libraries that are used by PDFgui and its components.
2525
2626* setuptools - tools for installing Python packages
@@ -57,17 +57,23 @@ INSTALLATION
5757------------------------------------------------------------------------
5858
5959The preferred method is to use Anaconda Python and install from the
60- "diffpy " channel of Anaconda packages ::
60+ "conda-forge " channel of Anaconda packages. ` pdfgui ` can be installed with ` conda ` ::
6161
62- conda config --add channels diffpy
63- conda install diffpy.pdfgui
62+ conda install -c conda-forge diffpy.pdfgui
6463
6564PDFgui can be then started from a terminal ("Anaconda Prompt" on
6665Windows) by executing the "pdfgui" program. An alternative
6766method on Windows is to start PDFgui through the DiffPy start menu.
6867
6968If you don't use Anaconda or prefer to install from sources, make
70- sure the required software is all in place and run ::
69+ sure the required software is all in place ::
70+
71+ pip install wxpython==4.0.7
72+ conda install matplotlib
73+ conda install -c conda-forge diffpy.utils
74+ conda install -c conda-forge install diffpy.pdffit2
75+
76+ Then you are ready to install diffpy.pdfgui from source codes::
7177
7278 python setup.py install
7379
@@ -82,6 +88,15 @@ changing to the HOME directory and running ::
8288
8389 python -m diffpy.pdfgui.tests.rundeps
8490
91+ To use PDFgui, you can simply type `pdfgui `, or run the following command ::
92+
93+ python diffpy.pdfgui/src/diffpy/pdfgui/application/pdfgui.py
94+
95+ If it shows some error like "This program needs access to the screen.". For Mac, you could install `python.app ` from conda
96+ (`conda install python.app `), then run as follows ::
97+
98+ python.app diffpy.pdfgui/src/diffpy/pdfgui/application/pdfgui.py
99+
85100With Anaconda PDFgui can be later upgraded to the latest released
86101version using ::
87102
@@ -92,7 +107,6 @@ the latest version as follows ::
92107
93108 easy_install --upgrade diffpy.pdfgui
94109
95-
96110Other software
97111````````````````````````````````````````````````````````````````````````
98112
@@ -101,6 +115,7 @@ structures. We have tested with several structure viewers such as
101115
102116* AtomEye, http://li.mit.edu/A/Graphics/A/
103117* PyMol, https://www.pymol.org
118+ * VESTA, http://jp-minerals.org/vesta/en/
104119
105120Other viewers should work as well, as long as they understand one of
106121the output structure formats supported by PDFgui.
0 commit comments