[Python] creare pacchetti
    Daniele Varrazzo 
    piro a develer.com
       
    Mer 26 Giu 2013 15:51:03 CEST
    
    
  
On Wed, 2013-06-26 at 09:28 -0400, Andrea Lomasto wrote:
> come si creano i pacchetti per distribuire un programma.
> Grazie
Occorre creare uno script setup.py
Le istruzioni complete sono qui:
http://docs.python.org/2/distutils/index.html
Contiene un semplice esempio:
http://docs.python.org/2/distutils/introduction.html#a-simple-example
che è un buon punto di partenza.
Un altro modo semplice di cominciare è di scopiazzare un pacchetto già
esistente su PyPI e con una struttura simile al tuo (es. uno puro
python, contenente un solo package, se il tuo pacchetto ha le stesse
caratteristiche) e adattarlo al tuo caso.
-- 
Daniele
    
    
       
       Maggiori informazioni sulla lista 
	       Python