From d3add44007ad72fc795297dd208d9a37ac4b54a3 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Thu, 7 Jul 2005 02:03:25 +0000 Subject: Beefed up the "sdist" command so that if you don't have a MANIFEST.in, it will include all files under revision control (CVS or Subversion) in the current directory, and it will regenerate the list every time you create a source distribution, not just when you tell it to. This should make the default "do what you mean" more often than the distutils' default behavior did, while still retaining the old behavior in the presence of MANIFEST.in. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041087 --- setuptools/command/easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 62b5cd70..9d61bb29 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -354,7 +354,7 @@ class easy_install(Command): "#!%(executable)s%(options)s\n" "# EASY-INSTALL-SCRIPT: %(spec)r,%(script_name)r\n" "import pkg_resources\n" - "pkg_resources.run_main(%(spec)r, %(script_name)r)\n" + "pkg_resources.run_script(%(spec)r, %(script_name)r)\n" ) % locals() if not self.dry_run: -- cgit v1.2.1