From 8c89c9438e9e461acc7587b60c79fb94b4d1f06d Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Fri, 14 Apr 2006 19:38:38 +0000 Subject: First round of prepping setuptools for inclusion in Python 2.5: move site.py to setuptools/site-patch.py; reinstate 'python -m easy_install' support; use distutils' "upload" command when running under 2.5. --HG-- branch : distribute extra : source : fbb6c89a74aa47a556a936202d2e50051b067940 extra : histedit_source : 778122fc56bcca6f5a1dbd5a475df11d29028730 --- setuptools/command/easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index df6107d7..77b0bc31 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1277,7 +1277,7 @@ Please make the appropriate changes for your system and try again.""" % ( return # already did it, or don't need to sitepy = os.path.join(self.install_dir, "site.py") - source = resource_string(Requirement.parse("distribute"), "site.py") + source = resource_string("setuptools", "site-patch.py") current = "" if os.path.exists(sitepy): -- cgit v1.2.1