--- /dev/null
+diff --git a/setup.py b/setup.py
+index 5257e748..410ce788 100644
+--- a/setup.py
++++ b/setup.py
+@@ -746,7 +746,6 @@ setup(name=NAME,
+ ext_modules=[Extension("PIL._imaging", ["_imaging.c"])],
+ include_package_data=True,
+ packages=find_packages(),
+- scripts=glob.glob("Scripts/*.py"),
+ test_suite='nose.collector',
+ keywords=["Imaging", ],
+ license='Standard PIL License',
# See _render and _clean in Tests/test_imagefont.py
DISTUTILS_IN_SOURCE_BUILD=1
+PATCHES=(
+ "${FILESDIR}/pillow-3.4.2-no-scripts.patch"
+)
+
python_prepare_all() {
# Disable all the stuff we don't want.
local f