Skip to content

Commit

Permalink
Bundle distutils in the binaries as Pillow now requires it
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Sep 9, 2019
1 parent c390a0c commit 571a821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bypy/linux/__main__.py
Expand Up @@ -132,7 +132,7 @@ def copy_python(env, ext_dir):
for x in os.listdir(srcdir):
y = j(srcdir, x)
ext = os.path.splitext(x)[1]
if os.path.isdir(y) and x not in ('test', 'hotshot', 'distutils',
if os.path.isdir(y) and x not in ('test', 'hotshot',
'site-packages', 'idlelib', 'lib2to3', 'dist-packages'):
shutil.copytree(y, j(env.py_dir, x), ignore=ignore_in_lib)
if os.path.isfile(y) and ext in ('.py', '.so'):
Expand Down
2 changes: 1 addition & 1 deletion bypy/windows/__main__.py
Expand Up @@ -237,7 +237,7 @@ def ignore_lib(root, items):
extract_pyd_modules(env, sp_dir)

printf('Byte-compiling all python modules...')
for x in ('test', 'lib2to3', 'distutils'):
for x in ('test', 'lib2to3'):
x = j(env.lib_dir, x)
if os.path.exists(x):
shutil.rmtree(x)
Expand Down

0 comments on commit 571a821

Please sign in to comment.