[Distutils] tracking requested vs dependency installs in PEP 376 metadata

Chris Withers chris at simplistix.co.uk
Tue Oct 20 14:11:44 CEST 2009


Ronald Oussoren wrote:
> 
> 2) Notice that simplejson gets installed and is a useful module, then 
> use that in your own scripts

At this point, you specify your scripts' dependencies on simplejson.

Look at it another way:

You follow you process above, but after step 2, your development machine 
suffers a disk failure so you start from scratch on a new machine.

Are you surprised at this point that simplejson isn't installed when you 
set things up again, even though by this point you've decided not to use 
TurboGears?

Code should always specify their dependencies, not doing so will cause 
you problems down the line...

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list