From fc250de6e2e18887732a346ee8fa3d385da44d56 Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Sun, 28 Nov 2010 15:55:38 -0500 Subject: [PATCH] Actually include the PIL module --- PIL.pth | 1 - setup.py | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 PIL.pth diff --git a/PIL.pth b/PIL.pth deleted file mode 100644 index b338169ce..000000000 --- a/PIL.pth +++ /dev/null @@ -1 +0,0 @@ -PIL diff --git a/setup.py b/setup.py index a088c17ca..806598179 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +import glob import os import platform import re @@ -7,7 +8,7 @@ import sys from distutils.command.build_ext import build_ext from distutils import sysconfig -from setuptools import Extension, setup +from setuptools import Extension, setup, find_packages _IMAGING = ( @@ -439,4 +440,6 @@ setup( ], cmdclass={"build_ext": pil_build_ext}, ext_modules=[Extension("_imaging", ["_imaging.c"])], + packages=find_packages(), + scripts = glob.glob("Scripts/pil*.py"), )