Author: Matti Picus <[email protected]>
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.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit