aboutsummaryrefslogtreecommitdiffstats
path: root/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-09-17 01:13:02 +0000
committerPJ Eby <distutils-sig@python.org>2005-09-17 01:13:02 +0000
commit673ac23e93f64a287c16a0d0ea45ba9ab9379d2d (patch)
treeb9aa9ca6d2049ccb783d15d7aa1d72826655e399 /easy_install.py
parentbaad93e3fb9e3275fec745eb0383a212e6042dbe (diff)
downloadexternal_python_setuptools-673ac23e93f64a287c16a0d0ea45ba9ab9379d2d.tar.gz
external_python_setuptools-673ac23e93f64a287c16a0d0ea45ba9ab9379d2d.tar.bz2
external_python_setuptools-673ac23e93f64a287c16a0d0ea45ba9ab9379d2d.zip
Added support to solve the infamous "we want .py on Windows, no
extension elsewhere" problem, while also bypassing the need for PATHEXT on Windows, and in fact the need to even write script files at all, for any platform. Instead, you define "entry points" in your setup script, in this case the names of the scripts you want (without extensions) and the functions that should be imported and run to implement the scripts. Setuptools will then generate platform-appropriate script files at install time, including an .exe wrapper when installing on Windows. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041246
Diffstat (limited to 'easy_install.py')
-rwxr-xr-xeasy_install.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/easy_install.py b/easy_install.py
index 4b204c47..bc2270c0 100755
--- a/easy_install.py
+++ b/easy_install.py
@@ -15,5 +15,8 @@ import sys
from setuptools.command.easy_install import *
if __name__ == '__main__':
+ print >>sys.stderr, "NOTE: python -m easy_install is deprecated."
+ print >>sys.stderr, "Please use the 'easy_install' command instead."
+ print >>sys.stderr
main(sys.argv[1:])