[Distutils] Adding entry points into Distutils ?

Floris Bruynooghe floris.bruynooghe at gmail.com
Thu May 7 16:12:15 CEST 2009


On Thu, May 07, 2009 at 03:03:29PM +0100, Paul Moore wrote:
> 2009/5/7 Doug Hellmann <doug.hellmann at gmail.com>:
> > Why make me define an entry point for that?  I can just put it in /usr/bin
> > or somewhere in the path on Windows and call it as "hello.py".
> 
> That works but a lot of Unix users have in the past objected to having
> '.py' in the name. People then start trying to cater for them by
> leaving off the '.py', which means it doesn't work on Windows, etc
> etc.

Why can't the install_scripts command from distutils install with a
.py extension on windonws and without on UNIX?  (Or rather: what would
be wrong with such an approach?)


Regards
Floris

-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org


More information about the Distutils-SIG mailing list