[Distutils] scripts versus console_scripts

Jim Fulton jim at zope.com
Thu Sep 3 19:58:21 CEST 2009


On Thu, Sep 3, 2009 at 12:34 PM, Tarek Ziadé<ziade.tarek at gmail.com> wrote:
> On Wed, Sep 2, 2009 at 7:50 PM, Jim Fulton<jim at zope.com> wrote:
>>
>> Yeah, it's too bad that the meta data is lost.  It amazes me how
>> willing distutils and setuptools are to toss meta data passed to
>> setup.
>
> Are your referring to the Package Metadata ? (eg the PEP 314 that
> lands in the PKG-INFO)

Not necessarily.  I mainly want it to land somewhere in the egg info.

>
> 'scripts' is just an argument that is used by the commands to generate
> the scripts,
>
> I don't think they should land in the Package Metadata, but I think we should
> have an API for any installed distribution to list them.

I consider everything that ends up in egg info directories to be
package meta data.  The information needs to be saved somewhere for an
API to dig it out of an egg.


>
> Right now PEP 376 proposes a RECORD file that lists all files
> installed for a distribution,
> but maybe we could have a flag that indicates that a file is an
> executable script
>
> How does that sounds ?

I think the script information should be included somehow so that it
can be gotten from eggs.

Jim

-- 
Jim Fulton


More information about the Distutils-SIG mailing list