[pypy-commit] pypy default: import cffi/4720f43ec0e0
arigo
pypy.commits at gmail.com
Sat Mar 11 12:31:01 EST 2017
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r90630:d4859be28252
Date: 2017-03-11 17:07 +0100
http://bitbucket.org/pypy/pypy/changeset/d4859be28252/
Log: import cffi/4720f43ec0e0
diff --git a/lib_pypy/cffi/api.py b/lib_pypy/cffi/api.py
--- a/lib_pypy/cffi/api.py
+++ b/lib_pypy/cffi/api.py
@@ -570,7 +570,10 @@
# we need 'libpypy-c.{so,dylib}', which should be by
# default located in 'sys.prefix/bin' for installed
# systems.
- pythonlib = "pypy-c"
+ if sys.version_info < (3,):
+ pythonlib = "pypy-c"
+ else:
+ pythonlib = "pypy3-c"
if hasattr(sys, 'prefix'):
ensure('library_dirs', os.path.join(sys.prefix, 'bin'))
# On uninstalled pypy's, the libpypy-c is typically found in
More information about the pypy-commit
mailing list