>
> Capito. Mi interessa avere il sys.path.append in fase di sviluppo, ma in
> questo caso dove lo metti? Nell'__init__.py presumo.
>
>
>> questo perchè avevo bisogno di avere il package visibile ad un progetto
>> di test che lo avrebbe usato, immagina una struttura del genere
>> mypackage
>> - __init__.py
>> - somecode.py
>> exampleproject
>> - myexamplecode.py
>>
>> cmq dipende molto da come è impostato il tuo progetto
>>
>
> Ci provo, grazie.
>
io il sys.path.append lo metto in "myexamplecode.py" (e a volte nei package
di test anche se è una cosa brutta brutta) così poi il package finale non
lo devo toccare in fase di rilascio
Ciao
--
"Unix IS user friendly. It's just selective about who its friend are"
"Nevertheless I still think it’s a bad idea to make things harder for
ourselves if we can avoid it."
"C is quirky, flawed, and an enormous success."
-- Dennis Ritchie
"Shipping is a feature. A really important feature. Your product must have
it."
"There is no such a thing as a temporary change or workaround: In most
cases, workarounds are tech debt."
"La gatta frettolosa ha fatto i gattini ciechi"
_______________________________________________
Python mailing list
[email protected]
http://lists.python.it/mailman/listinfo/python