@@ -38,54 +38,36 @@ PDFgui is distributed as a software package for
3838for all operating systems supported by Anaconda, namely for
3939Linux, Mac OS X, and Windows.
4040
41- As a prerequisite for PDFgui installation, download and
42- install ** Anaconda Python ** from
43- | anaconda- download | .
41+ As a prerequisite for PDFgui installation, download and install
42+ ** Miniconda ** (https://docs.conda.io/en/latest/miniconda.html#latest-miniconda-installer-links)
43+ or Anaconda Python (https://www. anaconda.com/ download) .
4444
45- .. TODO -- remove when PDFgui is compatible with wxpython 4
45+ PDFgui is available from the "conda-forge" channel of Anaconda packages.
46+ To do so open a *Terminal * window or *Anaconda Command Prompt * and use
47+ the :program: `conda ` command as follows ::
4648
47- .. important ::
49+ conda create --name=pdfgui2 python=3.9
50+ conda activate pdfgui2
51+ conda install -c conda-forge diffpy.pdfgui
4852
49- As of July 2019 Anaconda stopped providing older versions
50- of several packages that are required by PDFgui
51- (details `here
52- <https://www.anaconda.com/why-we-removed-the-free-channel-in-conda-4-7> `__).
53- We are working on making PDFgui compatible with the current
54- set of Anaconda packages.
55- In the meantime you must re-activate the old packages
56- as follows ::
53+ PDFgui can be then started from a *Terminal * window or *Anaconda Command Prompt * by typing ::
5754
58- conda update -n base conda
59- conda config --set restore_free_channel true
55+ pdfgui
6056
61-
62- PDFgui is available from the "diffpy" channel of Anaconda packages.
63- Because PDFgui requires Python 2.7 and wxpython 3,
64- it is strongly recommended to install it in a dedicated
65- Anaconda environment *py27 *.
66- To do so open a *Terminal * window or *Anaconda Command Prompt * on Windows
67- and use the :program: `conda ` command as follows ::
68-
69- conda config --add channels diffpy
70- conda create --name=py27 python=2.7
71- conda activate py27
72- conda install "diffpy.pdfgui>=1.1.2"
73-
74- All done. To start PDFgui enter :program: `pdfgui ` command in a
75- Terminal or use the *DiffPy * start menu on Windows. PDFgui can be
76- also started from the *Launcher * application included with Anaconda.
57+ The PDFgui window will appear automatically. An alternative method on Windows is to start
58+ PDFgui through the *Diffpy * start menu.
7759
7860.. note ::
79- To start PDFgui from a Terminal make sure *py27 * is
61+ To start PDFgui from a Terminal make sure *pdfgui2 * is
8062 the active Anaconda environment::
8163
82- conda activate py27
64+ conda activate pdfgui2
8365
8466 Alternatively you can add the following line to your shell startup
8567 file :file: `.bashrc ` to define an alias which will work in
8668 any Anaconda environment ::
8769
88- alias pdfgui="/path/to/py27 /bin/pdfgui"
70+ alias pdfgui="/path/to/pdfgui2 /bin/pdfgui"
8971
9072 where ``/path/to `` needs to be adjusted according to the output of
9173 ``which pdfgui `` command.
@@ -98,7 +80,7 @@ The Anaconda package system makes it easy to prepare and distribute
9880software updates and bugfixes. To update to the latest version of
9981PDFgui use ::
10082
101- conda update --channel=diffpy diffpy.pdfgui
83+ conda update -c conda-forge diffpy.pdfgui
10284
10385To use a bleeding edge development version, visit the project source
10486repository at https://github.com/diffpy/diffpy.pdfgui and consult
@@ -107,6 +89,15 @@ its README file.
10789
10890Other versions
10991==============
92+ v1.1.2 is the last python 2 version of PDFgui. It is no longer supported,
93+ but may be needed to open python 2 generated `.ddp ` project files. It can
94+ be installed in a python2 anaconda environment using the commands::
95+
96+ conda config --set restore_free_channel true
97+ conda config --add channels diffpy
98+ conda create --name=py27 python=2.7
99+ conda activate py27
100+ conda install -c diffpy "diffpy.pdfgui==1.1.2"
110101
111102When Anaconda Python is not available, PDFgui can be installed from
112103sources. The latest source package is at the `Python Package
@@ -142,6 +133,15 @@ Documentation and help
142133* The user manual is available in `HTML <../doc/pdfgui/index.html >`__
143134 and `PDF <../doc/pdfgui/pdfgui.pdf >`__ formats.
144135
136+ * Search "PDFgui" on YouTube for some video tutorials on how to use
137+ PDFgui.
138+
139+ * For in-depth help in using PDFgui to solve scientific problems please
140+ see the book "Atomic Pair Distribution Function Analysis: A primer" by
141+ Simon Billinge, Kirsten Jensen, and past and present Billinge group members,
142+ published by Oxford University Press. Data for the worked examples can
143+ be found here: https://github.com/Billingegroup/pdfttp_data
144+
145145* Tutorial files are available from
146146 `pdfgui-tutorial.zip <../doc/pdfgui/pdfgui-tutorial.zip >`__.
147147
0 commit comments