aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-07-07 02:03:25 +0000
committerPJ Eby <distutils-sig@python.org>2005-07-07 02:03:25 +0000
commitd3add44007ad72fc795297dd208d9a37ac4b54a3 (patch)
tree5e431089b0458c8124904e4c7d94a5f551668536 /setuptools/command/easy_install.py
parent8e7eabf110643907fd1f1979d0674cf615268124 (diff)
downloadexternal_python_setuptools-d3add44007ad72fc795297dd208d9a37ac4b54a3.tar.gz
external_python_setuptools-d3add44007ad72fc795297dd208d9a37ac4b54a3.tar.bz2
external_python_setuptools-d3add44007ad72fc795297dd208d9a37ac4b54a3.zip
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
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
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: