Skip to content

Commit 2dd1bf8

Browse files
DOC: update instructions for installation.
1 parent 8427225 commit 2dd1bf8

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

README.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,20 @@ INSTALLATION
5757
------------------------------------------------------------------------
5858

5959
The preferred method is to use Anaconda Python and install from the
60-
"diffpy" channel of Anaconda packages ::
60+
"conda-forge" channel of Anaconda packages ::
6161

62-
conda config --add channels diffpy
63-
conda install diffpy.pdfgui
62+
conda install -c conda-forge diffpy.pdfgui
6463

6564
PDFgui can be then started from a terminal ("Anaconda Prompt" on
6665
Windows) by executing the "pdfgui" program. An alternative
6766
method on Windows is to start PDFgui through the DiffPy start menu.
6867

6968
If 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 diffpy.utils diffpy.pdffit2 matplotlib
72+
73+
Then you are ready to install diffpy.pdfgui ::
7174

7275
python setup.py install
7376

@@ -92,7 +95,6 @@ the latest version as follows ::
9295

9396
easy_install --upgrade diffpy.pdfgui
9497

95-
9698
Other software
9799
````````````````````````````````````````````````````````````````````````
98100

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use this version when git data are not available, like in git zip archive.
1717
# Update when tagging a new release.
18-
FALLBACK_VERSION = '1.2.0'
18+
FALLBACK_VERSION = '1.4.0'
1919

2020
# determine if we run with Python 3.
2121
PY3 = (sys.version_info[0] == 3)
@@ -29,7 +29,7 @@
2929
def gitinfo():
3030
from subprocess import Popen, PIPE
3131
kw = dict(stdout=PIPE, cwd=MYDIR, universal_newlines=True)
32-
proc = Popen(['git', 'describe', '--match=v[[:digit:]]*'], **kw)
32+
proc = Popen(['git', 'describe', '--tags', '--match=v[[:digit:]]*'], **kw)
3333
desc = proc.stdout.read()
3434
proc = Popen(['git', 'log', '-1', '--format=%H %ct %ci'], **kw)
3535
glog = proc.stdout.read()

0 commit comments

Comments
 (0)