[Numpy-svn] [numpy/numpy] 98b3ea: BUG: Search for Python DLL in base distr. with Min...

GitHub noreply at github.com
Mon Dec 12 12:33:27 EST 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 98b3eabe44c97c3aeb66cd6aaf52c747f97d5ac8
      https://github.com/numpy/numpy/commit/98b3eabe44c97c3aeb66cd6aaf52c747f97d5ac8
  Author: Roland Kaufmann <roland.kaufmann at uni.no>
  Date:   2016-12-08 (Thu, 08 Dec 2016)

  Changed paths:
    M numpy/distutils/mingw32ccompiler.py

  Log Message:
  -----------
  BUG: Search for Python DLL in base distr. with MinGW

If an extension is built in a virtualenv, the compiler adapter for the
MinGW distribution will search for the libs/ directory containing the
import libraries for the Python runtime, in the virtualenv. However,
these files are not copied when the virtualenv is created (using the
venv module), so the build fails.

This patch searches the base distribution directory for the libraries
in addition to the virtualenv, allowing extensions to be built without
manually copying the libs/ directory first.


  Commit: a98bd6bd070bb595f559727ace2f2bc9747ec7d7
      https://github.com/numpy/numpy/commit/a98bd6bd070bb595f559727ace2f2bc9747ec7d7
  Author: Roland Kaufmann <roland.kaufmann at uni.no>
  Date:   2016-12-09 (Fri, 09 Dec 2016)

  Changed paths:
    M numpy/distutils/mingw32ccompiler.py

  Log Message:
  -----------
  STY: Avoid using string formatting in log calls

The log class (derived from distutils.log) does string formatting with
extra arguments passed, if (and only if) the log level is above the set
threshold. That way, the cost of string formatting only incurs if the
message is actually going to be displayed.


  Commit: 74abcfc5431836825800550fd354f32bcc93a89d
      https://github.com/numpy/numpy/commit/74abcfc5431836825800550fd354f32bcc93a89d
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-12-12 (Mon, 12 Dec 2016)

  Changed paths:
    M numpy/distutils/mingw32ccompiler.py

  Log Message:
  -----------
  Merge pull request #8356 from rolk/8356_mingw_virtenv

Allow extensions to be built with MinGW in a virtualenv


Compare: https://github.com/numpy/numpy/compare/78b06bdc2f46...74abcfc54318


More information about the Numpy-svn mailing list