[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Nov 23 11:24:43 PST 2015
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/52a69f4155e4/
Changeset: 52a69f4155e4
Branch: yt
User: ngoldbaum
Date: 2015-11-18 06:15:36+00:00
Summary: Do not try to include openmp support on Python 3.5.0
Affected #: 1 file
diff -r 90f900be7a36433fdd48941cae4bc91066ff5c76 -r 52a69f4155e4f8423de89af6a6a4a950758736f3 yt/utilities/lib/setup.py
--- a/yt/utilities/lib/setup.py
+++ b/yt/utilities/lib/setup.py
@@ -1,12 +1,19 @@
#!/usr/bin/env python
from __future__ import print_function
import os
+import sys
import tempfile
import subprocess
import shutil
import pkg_resources
def check_for_openmp():
+ """Returns True if local setup supports OpenMP, False otherwise"""
+
+ # See https://bugs.python.org/issue25150
+ if sys.version_info[:3] == (3, 5, 0):
+ return False
+
# Create a temporary directory
tmpdir = tempfile.mkdtemp()
curdir = os.getcwd()
https://bitbucket.org/yt_analysis/yt/commits/be7b47f6a4b1/
Changeset: be7b47f6a4b1
Branch: yt
User: ngoldbaum
Date: 2015-11-23 19:24:35+00:00
Summary: Merged in ngoldbaum/yt (pull request #1871)
Do not try to include openmp support on Python 3.5.0
Affected #: 1 file
diff -r cd3c48fde0b29dd566bfebe749215d9071df8791 -r be7b47f6a4b161c542416c7d2d5e5a303faa2639 yt/utilities/lib/setup.py
--- a/yt/utilities/lib/setup.py
+++ b/yt/utilities/lib/setup.py
@@ -1,12 +1,19 @@
#!/usr/bin/env python
from __future__ import print_function
import os
+import sys
import tempfile
import subprocess
import shutil
import pkg_resources
def check_for_openmp():
+ """Returns True if local setup supports OpenMP, False otherwise"""
+
+ # See https://bugs.python.org/issue25150
+ if sys.version_info[:3] == (3, 5, 0):
+ return False
+
# Create a temporary directory
tmpdir = tempfile.mkdtemp()
curdir = os.getcwd()
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list