# HG changeset patch # User Laurence Rowe # Date 1282527703 -3600 # Node ID af38417fd57a31fbc18e536f127fd5797b9a0089 # Parent f356a1f64271e9d3206fcf9059492ba1c9e163d6 easy_install compatibility diff -r f356a1f64271 -r af38417fd57a setup.py --- a/setup.py Sun Nov 15 19:03:47 2009 +0100 +++ b/setup.py Mon Aug 23 02:41:43 2010 +0100 @@ -473,13 +473,13 @@ cmdclass = {"build_ext": pil_build_ext}, description=DESCRIPTION, download_url=DOWNLOAD_URL % (NAME, VERSION), + ext_package = "PIL", ext_modules = [Extension("_imaging", ["_imaging.c"])], # dummy - extra_path = "PIL", + package_data={"PIL": ["../PIL.pth"]}, license="Python (MIT style)", long_description=DESCRIPTION, name=NAME, - package_dir={"": "PIL"}, - packages=[""], + packages=["PIL"], platforms="Python 1.5.2 and later.", scripts = glob.glob("Scripts/pil*.py"), url=HOMEPAGE,