Python PNS

Philippe Lafoucrière lafou at wanadoo.fr
Mon Mar 10 16:58:42 EST 2003


hello.

I was thinking of something maybe interresting : every linux distribution is 
now able to manage dependancies. When a package need another package, the 
last one is automatically downloaded and installed. Why would it be 
different with python ? Can not we handle a list of python packages, with 
their url in order to fetch them (and a list of depencies of course) ?

Just imagine :


>>>import MysqlDb
MysqlDb is not installed...
Do you want to use the PNS (Python Naming Service) to install it ? [Y/n] Y

fetching...                 ######################################## [100%]
Installing...                ######################################## [100%]
Update environnement ...    
DONE !
->-> import MysqlDb successful !

>>>
----------------------------------------------------------------------


This can be managed via a new module (easyly updatable) ?

Thank you for questions / suggestions ...

Philippe Lafoucrière






More information about the Python-list mailing list