[pypy-commit] pypy default: ignore cffi build artifacts that also happen to be over 260 chars in length
mattip
pypy.commits at gmail.com
Wed Nov 13 10:26:24 EST 2019
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r98044:874d998bc429
Date: 2019-11-13 10:19 -0500
http://bitbucket.org/pypy/pypy/changeset/874d998bc429/
Log: ignore cffi build artifacts that also happen to be over 260 chars in
length
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
@@ -189,14 +189,14 @@
for source, target, target_dir in binaries])
# Careful: to copy lib_pypy, copying just the hg-tracked files
- # would not be enough: there are also ctypes_config_cache/_*_cache.py.
- # XXX ^^^ this is no longer true!
+ # would not be enough: there are also build artifacts like cffi-generated
+ # dynamic libs
shutil.copytree(str(basedir.join('lib-python').join(STDLIB_VER)),
str(pypydir.join('lib-python').join(STDLIB_VER)),
ignore=ignore_patterns('.svn', 'py', '*.pyc', '*~'))
shutil.copytree(str(basedir.join('lib_pypy')), str(lib_pypy),
ignore=ignore_patterns('.svn', 'py', '*.pyc', '*~',
- '*_cffi.c', '*.o'))
+ '*_cffi.c', '*.o', '*.pyd-*'))
for file in ['README.rst',]:
shutil.copy(str(basedir.join(file)), str(pypydir))
for file in ['_testcapimodule.c', '_ctypes_test.c']:
More information about the pypy-commit
mailing list