Bonjour,
J'ai une erreur lorsque je modifie un setup.py présent dans c:\waptdev et que j'essaye d'uploader le paquet. Le problème est apparu après la mise à jour de mon serveur de 1.5.1.15 en 1.5.1.18. Quand je fais « Editer le paquet » depuis la console, j'arrive à modifier et ré-uploader normalement.
[cid:image001.jpg@01D3BBAA.73327F40]
Cordialement, Gaël Pavageau Responsable informatique Ensemble Dom Sortais 3 RUE MONGAZON 49601 BEAUPREAU EN MAUGES Téléphone : +33 2 41 71 35 36 ------------------------------------------------- [Ensemble-Dom-Sortais]
Ceci est lié à : https://www.wapt.fr/fr/doc-1.5/changelog.html#id3 Lorsque vous lancer PyScripter directement, il va utiliser les librairies python système (c:\python27) qui seront éventuellement d'une version inférieure ou différentes de celles de wapt (<wapt>\lib\site-packages) Il est donc maintenant requis de positionner les variables d'environnement PYTHONHOME et PYTHONPATH avant de lancer PyScripter et de spécifier à PyScripter le chemin de la DLL python27 à utiliser. Et ouvrir le fichier psproj depuis PyScripter. Le script *<wapt>\waptpyscripter.bat* fait cela. set VIRTUAL_ENV=%CD% SET PYTHONHOME=%VIRTUAL_ENV% start "Pycripter" /D "%CD%" "%ProgramFiles(x86)%\PyScripter\PyScripter.exe" -N --python27 --PYTHONDLLPATH "%cd%" %*
Ou lancer la commande "*waptpyscripter.bat --project=<chemin du fichier psproj>*" exemple : waptpyscripter --project=c:\waptdev\tis-7zip-wapt\WAPT\wapt.psproj
ou lancer la commande "*wapt-get edit <monpaquet>*" pour éditer un paquet du dépôt.
On va réfléchir à une solution intégrée à la console ;-)
Hubert
Le 14/03/2018 à 15:41, Gael Pavageau a écrit :
Bonjour,
J’ai une erreur lorsque je modifie un setup.py présent dans c:\waptdev et que j’essaye d’uploader le paquet. Le problème est apparu après la mise à jour de mon serveur de 1.5.1.15 en 1.5.1.18.
Quand je fais « Editer le paquet » depuis la console, j’arrive à modifier et ré-uploader normalement.
Cordialement,
Gaël Pavageau Responsable informatique Ensemble Dom Sortais 3 RUE MONGAZON 49601 BEAUPREAU EN MAUGES Téléphone : +33 2 41 71 35 36
Ensemble-Dom-Sortais
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt