[Python-checkins] python/nondist/sandbox/setuptools/setuptools.egg-info entry_points.txt, 1.6, 1.7

pje@users.sourceforge.net pje at users.sourceforge.net
Sat Sep 17 03:13:05 CEST 2005


Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools.egg-info
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8383/setuptools.egg-info

Modified Files:
	entry_points.txt 
Log Message:
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.


Index: entry_points.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools.egg-info/entry_points.txt,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- entry_points.txt	22 Aug 2005 03:14:58 -0000	1.6
+++ entry_points.txt	17 Sep 2005 01:13:02 -0000	1.7
@@ -16,11 +16,15 @@
 entry_points.txt = setuptools.command.egg_info:write_entries
 depends.txt = setuptools.command.egg_info:warn_depends_obsolete
 
+[console_scripts]
+easy_install = setuptools.command.easy_install:main
+
 [distutils.commands]
 bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm
 rotate = setuptools.command.rotate:rotate
 develop = setuptools.command.develop:develop
 setopt = setuptools.command.setopt:setopt
+build_py = setuptools.command.build_py:build_py
 saveopts = setuptools.command.saveopts:saveopts
 egg_info = setuptools.command.egg_info:egg_info
 upload = setuptools.command.upload:upload



More information about the Python-checkins mailing list