Skip to content

Commit

Permalink
update version to 0.9.39
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Jul 10, 2018
1 parent 4a50da2 commit 943b30d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
14 changes: 7 additions & 7 deletions doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ Downloading and Installation
.. _lmfit: https://lmfit.github.io/lmfit-py/
.. _Larch Releases (github.com): https://github.com/xraypy/xraylarch/releases
.. _Larch Binary Installers: https://millenia.cars.aps.anl.gov/gsecarrs/Data/Larch
.. _source code (tar.gz): https://millenia.cars.aps.anl.gov/gsecarrs/Data/Larch/xraylarch-0.9.38.tar.gz
.. _Larch for 64bit Windows: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.38-Windows-x86_64.exe
.. _source code (tar.gz): https://millenia.cars.aps.anl.gov/gsecarrs/Data/Larch/xraylarch-0.9.39.tar.gz
.. _Larch for 64bit Windows: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.39-Windows-x86_64.exe
.. _Larch for 32bit Windows: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.37-Windows-x86.exe
.. _Larch for MacOSX: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.38-MacOSX-x86_64.sh
.. _Larch for Linux: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.38-Linux-x86_64.sh
.. _Larch Docs and Examples: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.38-docs-examples.zip
.. _Larch for MacOSX: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.39-MacOSX-x86_64.sh
.. _Larch for Linux: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.39-Linux-x86_64.sh
.. _Larch Docs and Examples: https://millenia.cars.aps.anl.gov/gsecars/Data/Larch/xraylarch-0.9.39-docs-examples.zip

The latest release version of Larch is |release|.

Expand Down Expand Up @@ -70,11 +70,11 @@ For Mac OSX or Linux, download the appropriate file then open a Terminal
(Applications->Utilities->Terminal on Mac OSX), use `cd` to move to the
download folder (typically `cd Downloads`) and run::

bash xraylarch-0.9.38-MacOSX-x86_64.sh
bash xraylarch-0.9.39-MacOSX-x86_64.sh

or::

bash xraylarch-0.9.38-Linux-x86_64.sh
bash xraylarch-0.9.39-Linux-x86_64.sh

Once installed, you will be able to upgrade to future versions of Larch using::

Expand Down
12 changes: 8 additions & 4 deletions lib/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
__date__ = '2018-July-06'
__version__ = '0.9.38'
__date__ = '2018-July-10'
__version__ = '0.9.39'

import sys
import numpy
Expand All @@ -15,7 +15,10 @@

def make_banner():
authors = "M. Newville, M. Koker, B. Ravel, and others"
sysvers = sys.version.replace('\n', ' ')
sysvers = sys.version
if '\n' in sysvers:
sysvers = sysvers.split('\n')[0]


lines = ["Larch %s (%s) %s" % (__version__, __date__, authors),
"Python: %s" % (sysvers)]
Expand All @@ -29,7 +32,8 @@ def make_banner():
reqs.append(vers)
lines.append(', '.join(reqs))

border = '='*max([len(line) for line in lines])
linelen = max([len(line) for line in lines])
border = '='*min(linelen, 75)
lines.insert(0, border)
lines.append(border)

Expand Down

0 comments on commit 943b30d

Please sign in to comment.