[Wapt] Uninstall dans pyscripter

Hubert TOUVET htouvet at tranquil.it
Mon May 4 10:35:00 CEST 2015


Peux tu transmettre le contenu de setup.py ?
Peut-être que la variable uninstallkey modifiée n'est pas globale.

Dans la procédure install(), il faut
- soit que uninstallkey soit déclarée "global" si on la réaffecte
uninstallkey = []
def install():
     global uninstallkey
     uninstallkey = ['{12569-9898-45845}']

- ou bien alors appeler la méthode append
uninstallkey = []
def install():
     uninstallkey.append('{12569-9898-45845}')


Hubert

Le 28/04/2015 13:17, Fonteneau Simon a écrit :
> Petite précision, il fonctionne avec notepadplusplus par exemple dans 
> pyscripter
>
> Mais pas avec libreoffice ?
>
> Simon
>
>
>
>
>
> Le 28/04/2015 12:33, Fonteneau Simon a écrit :
>> Bonjour
>>
>> Avec la version 1.1.1 (pas encore essayé avec la new version)
>>
>> Dans pyscripter les uninstall key ne fonctionne pas
>>
>> En revanche lorsque que j'upload et qu'ensuite je fait un wapt-get 
>> remove lepaquet, cela fonctionne ??
>>
>> Normal ?
>>
>> Simon
>>
>> -- 
>
>
>
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150504/5ec6714b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 27405 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150504/5ec6714b/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 27405 bytes
Desc: not available
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20150504/5ec6714b/attachment-0003.jpe>


More information about the WAPT mailing list