Commit 64731d16 authored by Matti Picus's avatar Matti Picus
Browse files

ignore cffi build artifacts that also happen to be over 260 chars in length

parent 65f80b74784f
......@@ -189,14 +189,14 @@ def create_package(basedir, options, _fake=False):
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']:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment