Sat Nov 15 12:05:01 MST 2008 zooko@zooko.com * change exception into warning when target install dir isn't pth-capable This eases the common use case of "./setup.py install --prefix=foo" followed by some other mechanism to make sure that ./foo/... is importable, and makes setuptools behave more like distutils in this regard. diff -rN -u old-dw-0.6c9+zookopatches/setuptools/command/easy_install.py new-dw-0.6c9+zookopatches/setuptools/command/easy_install.py --- old-dw-0.6c9+zookopatches/setuptools/command/easy_install.py 2008-11-21 10:08:18.000000000 -0700 +++ new-dw-0.6c9+zookopatches/setuptools/command/easy_install.py 2008-11-21 10:08:19.000000000 -0700 @@ -276,7 +276,7 @@ if not is_site_dir and not self.multi_version: # Can't install non-multi to non-site dir - raise DistutilsError(self.no_default_version_msg()) + log.warn(self.no_default_version_msg()) if is_site_dir: if self.pth_file is None: @@ -1059,7 +1059,9 @@ http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations -Please make the appropriate changes for your system and try again.""" % ( +Proceeding to install. Please remember that unless you make one of +these changes you will not be able to run the installed code. +""" % ( self.install_dir, os.environ.get('PYTHONPATH','') )