[issue12394] packaging: generate scripts from callable (dotted paths)

Vinay Sajip report at bugs.python.org
Fri Jun 24 16:00:19 CEST 2011


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

> Fred L. Drake, Jr. <fdrake at acm.org> added the  comment:

> 
> People working on this should probably also look at how  zc.buildout's 
>zc.recipe.egg handles script generation.  It's similar to  setuptools in that 
>"console_script" entry points are used, but it binds in the  desired Python 
>executable as well.
> 
> (If you ran the build with an  unversioned Python executable name, that's what 
>you get, but if you use a  versioned path, it's  retained.)

And also consider what happens when a script is installed into a virtual env, 
when the virtual env's executable *has* to be used.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12394>
_______________________________________


More information about the Python-bugs-list mailing list