[pypy-commit] pypy default: add some pieces needed to start building opencv-python with scikit-build
mattip
pypy.commits at gmail.com
Sun May 12 22:31:42 EDT 2019
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r96606:b746e83d4c54
Date: 2019-05-12 19:30 -0700
http://bitbucket.org/pypy/pypy/changeset/b746e83d4c54/
Log: add some pieces needed to start building opencv-python with scikit-
build
diff --git a/lib-python/2.7/distutils/sysconfig_pypy.py b/lib-python/2.7/distutils/sysconfig_pypy.py
--- a/lib-python/2.7/distutils/sysconfig_pypy.py
+++ b/lib-python/2.7/distutils/sysconfig_pypy.py
@@ -71,7 +71,7 @@
g['AR'] = "ar"
g['ARFLAGS'] = "rc"
g['EXE'] = ""
- g['LIBDIR'] = os.path.join(sys.prefix, 'lib')
+ g['LIBDIR'] = os.path.join(sys.prefix, 'bin') # where is the shared library
g['VERSION'] = get_python_version()
if sys.platform[:6] == "darwin":
diff --git a/lib-python/2.7/sysconfig.py b/lib-python/2.7/sysconfig.py
--- a/lib-python/2.7/sysconfig.py
+++ b/lib-python/2.7/sysconfig.py
@@ -483,6 +483,7 @@
_CONFIG_VARS['projectbase'] = _PROJECT_BASE
_CONFIG_VARS['implementation'] = _get_implementation()
_CONFIG_VARS['implementation_lower'] = _get_implementation().lower()
+ _CONFIG_VARS['LIBRARY'] = ''
if os.name in ('nt', 'os2'):
_init_non_posix(_CONFIG_VARS)
More information about the pypy-commit
mailing list