[yt-svn] commit/yt: 4 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Jun 23 06:08:30 PDT 2017
4 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/a7586bcc535e/
Changeset: a7586bcc535e
User: ngoldbaum
Date: 2017-06-22 20:38:46+00:00
Summary: fix compilation on windows python2.7
Affected #: 2 files
diff -r b5fa47f8c92aaee458b551ee225fb6d22b3d5cd2 -r a7586bcc535ef60569ca969c799360c44c9880d0 yt/geometry/grid_container.pyx
--- a/yt/geometry/grid_container.pyx
+++ b/yt/geometry/grid_container.pyx
@@ -16,7 +16,6 @@
import numpy as np
cimport numpy as np
cimport cython
-from libc.math cimport rint
from yt.utilities.lib.bitarray cimport bitarray
@cython.boundscheck(False)
diff -r b5fa47f8c92aaee458b551ee225fb6d22b3d5cd2 -r a7586bcc535ef60569ca969c799360c44c9880d0 yt/utilities/lib/mesh_utilities.pyx
--- a/yt/utilities/lib/mesh_utilities.pyx
+++ b/yt/utilities/lib/mesh_utilities.pyx
@@ -17,10 +17,12 @@
cimport numpy as np
cimport cython
from libc.stdlib cimport malloc, free, abs
-from libc.math cimport rint
from yt.utilities.lib.fp_utils cimport imax, fmax, imin, fmin, iclip, fclip, i64clip
from yt.units.yt_array import YTArray
+cdef extern from "platform_dep.h":
+ double rint(double x)
+
@cython.boundscheck(False)
@cython.wraparound(False)
@cython.cdivision(True)
https://bitbucket.org/yt_analysis/yt/commits/9e7c271b19e3/
Changeset: 9e7c271b19e3
User: ngoldbaum
Date: 2017-06-22 23:44:09+00:00
Summary: add a python2.7 build on windows
Affected #: 1 file
diff -r a7586bcc535ef60569ca969c799360c44c9880d0 -r 9e7c271b19e3a471e4d86928bc77372a23f6a7c7 appveyor.yml
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -8,6 +8,7 @@
matrix:
- PYTHON_VERSION: "3.6"
+ - PYTHON_VERSION: "2.7"
platform:
-x64
https://bitbucket.org/yt_analysis/yt/commits/36b2520d72e1/
Changeset: 36b2520d72e1
User: ngoldbaum
Date: 2017-06-23 02:09:50+00:00
Summary: install mock on appveyor for py27
Affected #: 1 file
diff -r 9e7c271b19e3a471e4d86928bc77372a23f6a7c7 -r 36b2520d72e100a5ed1eb2d81b0c339974bec3c3 appveyor.yml
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -28,7 +28,7 @@
- "python --version"
# Install specified version of numpy and dependencies
- - "conda install -q --yes -c conda-forge numpy scipy nose setuptools ipython Cython sympy fastcache h5py matplotlib flake8 "
+ - "conda install -q --yes -c conda-forge numpy scipy nose setuptools ipython Cython sympy fastcache h5py matplotlib flake8 mock"
- "pip install -e ."
# Not a .NET project
https://bitbucket.org/yt_analysis/yt/commits/41060eb49b72/
Changeset: 41060eb49b72
User: jzuhone
Date: 2017-06-23 13:08:16+00:00
Summary: Merge pull request #1464 from ngoldbaum/windows-fix
fix compilation on windows python2.7
Affected #: 3 files
diff -r b5fa47f8c92aaee458b551ee225fb6d22b3d5cd2 -r 41060eb49b72a97f7f50d93dd7248b4c585a88a7 appveyor.yml
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -8,6 +8,7 @@
matrix:
- PYTHON_VERSION: "3.6"
+ - PYTHON_VERSION: "2.7"
platform:
-x64
@@ -27,7 +28,7 @@
- "python --version"
# Install specified version of numpy and dependencies
- - "conda install -q --yes -c conda-forge numpy scipy nose setuptools ipython Cython sympy fastcache h5py matplotlib flake8 "
+ - "conda install -q --yes -c conda-forge numpy scipy nose setuptools ipython Cython sympy fastcache h5py matplotlib flake8 mock"
- "pip install -e ."
# Not a .NET project
diff -r b5fa47f8c92aaee458b551ee225fb6d22b3d5cd2 -r 41060eb49b72a97f7f50d93dd7248b4c585a88a7 yt/geometry/grid_container.pyx
--- a/yt/geometry/grid_container.pyx
+++ b/yt/geometry/grid_container.pyx
@@ -16,7 +16,6 @@
import numpy as np
cimport numpy as np
cimport cython
-from libc.math cimport rint
from yt.utilities.lib.bitarray cimport bitarray
@cython.boundscheck(False)
diff -r b5fa47f8c92aaee458b551ee225fb6d22b3d5cd2 -r 41060eb49b72a97f7f50d93dd7248b4c585a88a7 yt/utilities/lib/mesh_utilities.pyx
--- a/yt/utilities/lib/mesh_utilities.pyx
+++ b/yt/utilities/lib/mesh_utilities.pyx
@@ -17,10 +17,12 @@
cimport numpy as np
cimport cython
from libc.stdlib cimport malloc, free, abs
-from libc.math cimport rint
from yt.utilities.lib.fp_utils cimport imax, fmax, imin, fmin, iclip, fclip, i64clip
from yt.units.yt_array import YTArray
+cdef extern from "platform_dep.h":
+ double rint(double x)
+
@cython.boundscheck(False)
@cython.wraparound(False)
@cython.cdivision(True)
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