Skip to content

Commit

Permalink
Merge pull request #759 from vasole/vasole-patch1
Browse files Browse the repository at this point in the history
Prepare release
  • Loading branch information
vasole authored Oct 23, 2020
2 parents 1aa016a + 006ba7d commit 8bfeb1f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PyMca5/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
__contact__ = "sole@esrf.fr"
__license__ = "MIT"
__copyright__ = "European Synchrotron Radiation Facility, Grenoble, France"
__version__ = "5.6.1"
__version__ = "5.6.2"

import os
import sys
Expand Down
9 changes: 9 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
VERSION 5.6.2
-------------

- IO. h5py 3.0.0 compatibility

- Double-check OpenGL availability on startup

- Allow building of PyMca under linux without OpenGL

VERSION 5.6.1
-------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def build_xas_xas(ext_modules):
comp = distutils.ccompiler.get_default_compiler()
if comp == "unix":
import subprocess
if subprocess.call("which gcc > /dev/null", shell=True) == 0:
if subprocess.call("gcc -v > /dev/null 2>&1", shell=True) == 0:
c_prog = "#include <stdint.h>\n int main()\n{return 0;}\n"
if subprocess.call("echo '%s' | gcc -x c - " % c_prog, shell=True) == 0:
c_prog = "#include <GL/gl.h>\n int main()\n{return 0;}\n"
Expand Down

0 comments on commit 8bfeb1f

Please sign in to comment.