[pypy-commit] pypy default: package.py: fix typo, condition exception on _fake=False
mattip
pypy.commits at gmail.com
Thu Nov 14 22:47:19 EST 2019
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r98054:3ad0fbece144
Date: 2019-11-14 20:46 -0700
http://bitbucket.org/pypy/pypy/changeset/3ad0fbece144/
Log: package.py: fix typo, condition exception on _fake=False
diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py
--- a/pypy/tool/release/package.py
+++ b/pypy/tool/release/package.py
@@ -161,7 +161,8 @@
print('Picking %s (and contents)' % libsdir)
shutil.copytree(str(libsdir), str(pypydir.join('libs')))
else:
- raise RuntimError('"libs" dir with import library not found.')
+ if not _fake:
+ raise RuntimeError('"libs" dir with import library not found.')
# XXX users will complain that they cannot compile capi (cpyext)
# modules for windows, also embedding pypy (i.e. in cffi)
# will fail.
More information about the pypy-commit
mailing list