summaryrefslogtreecommitdiff
path: root/easy_install.py
diff options
context:
space:
mode:
authorpje <pje@6015fed2-1504-0410-9fe1-9d1591cc4771>2005-09-17 01:13:02 +0000
committerpje <pje@6015fed2-1504-0410-9fe1-9d1591cc4771>2005-09-17 01:13:02 +0000
commit3a37fbb2094cfe88013e5bd4a088bfa06a63e9dc (patch)
treeb9aa9ca6d2049ccb783d15d7aa1d72826655e399 /easy_install.py
parent5e987538b89e921f45a838c9683ed350a9a78333 (diff)
downloadpython-setuptools-3a37fbb2094cfe88013e5bd4a088bfa06a63e9dc.tar.gz
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. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@41246 6015fed2-1504-0410-9fe1-9d1591cc4771
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 4b204c4..bc2270c 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:])