Binary file PLCOpenEditor.py has changed
--- a/debian/README.Debian Wed Oct 28 13:51:32 2009 +0100
+++ b/debian/README.Debian Mon Nov 02 11:59:15 2009 +0100
@@ -3,4 +3,4 @@
<possible notes regarding this package - if none, delete this file>
- -- lolitech <gregory.trelat@lolitech.net> Tue, 13 Nov 2007 11:14:55 +0100
+ -- edouard <edouard.tisserant@gmail.com> Tue, 13 Nov 2007 11:14:55 +0100
--- a/debian/changelog Wed Oct 28 13:51:32 2009 +0100
+++ b/debian/changelog Mon Nov 02 11:59:15 2009 +0100
@@ -2,5 +2,5 @@
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
- -- lolitech <gregory.trelat@lolitech.fr> Tue, 13 Nov 2007 11:14:55 +0100
+ -- edouard <edouard.tisserant@gmail.com> Tue, 13 Nov 2007 11:14:55 +0100
--- a/debian/control Wed Oct 28 13:51:32 2009 +0100
+++ b/debian/control Mon Nov 02 11:59:15 2009 +0100
@@ -1,7 +1,7 @@
Source: plcopeneditor
Section: devel
Priority: standard
-Maintainer: lolitech <gregory.trelat@lolitech.net>
+Maintainer: edouard <edouard.tisserant@gmail.com>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2
--- a/debian/copyright Wed Oct 28 13:51:32 2009 +0100
+++ b/debian/copyright Mon Nov 02 11:59:15 2009 +0100
@@ -1,4 +1,4 @@
-This package was debianized by lolitech <gregory.trelat@lolitech.net> on
+This package was debianized by edouard <edouard.tisserant@gmail.com> on
Tue, 13 Nov 2007 11:14:55 +0100.
It was downloaded from <fill in http/ftp site>
@@ -27,7 +27,7 @@
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
-The Debian packaging is (C) 2007, lolitech <gregory.trelat@lolitech.net> and
+The Debian packaging is (C) 2007, edouard <edouard.tisserant@gmail.com> and
is licensed under the GPL, see above.
--- a/doc/about.html Wed Oct 28 13:51:32 2009 +0100
+++ b/doc/about.html Mon Nov 02 11:59:15 2009 +0100
@@ -8,14 +8,6 @@
More informations on :
<a href="http://www.beremiz.org/">http://www.beremiz.org/</a>
<BR><BR>
-<TABLE border="0">
- <TR>
- Supported by LOLITech :
- </TR>
- <TR>
- <a href="http://www.lolitech.fr">http://www.lolitech.fr</a>
- </TR>
-</TABLE>
</CENTER>
</BODY>
</HTML>
\ No newline at end of file
--- a/i18n/PLCOpenEditor_fr_FR.po Wed Oct 28 13:51:32 2009 +0100
+++ b/i18n/PLCOpenEditor_fr_FR.po Mon Nov 02 11:59:15 2009 +0100
@@ -7,8 +7,8 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-12 10:13+0200\n"
-"PO-Revision-Date: 2009-10-12 10:14+0100\n"
+"POT-Creation-Date: 2009-11-02 11:07+0100\n"
+"PO-Revision-Date: 2009-11-02 11:15+0100\n"
"Last-Translator: \n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
@@ -22,10 +22,8 @@
"\n"
"Click OK to save an error report.\n"
"\n"
-"Please contact LOLITech at:\n"
-"+33 (0)3 29 57 60 42\n"
-"bugs_PLCOpenEditor@lolitech.fr\n"
-"\n"
+"Please be kind enough to send this file to:\n"
+"edouard.tisserant@gmail.com\n"
"\n"
"Error:\n"
msgstr ""
@@ -34,10 +32,8 @@
"\n"
"Appuyer sur 'Valider' pour enregistrer un rapport d'erreur.\n"
"\n"
-"Veuillez contacter LOLITech au :\n"
-"+33 (0)3 29 57 60 42\n"
-"bugs_PLCOpenEditor@lolitech.fr\n"
-"\n"
+"Envoyez ce fichier à l'adresse :\n"
+"edouard.tisserant@gmail.com\n"
"\n"
"Erreur:\n"
@@ -65,7 +61,7 @@
msgid " Temp"
msgstr " Temporaire"
-#: ../PLCOpenEditor.py:4284
+#: ../PLCOpenEditor.py:4282
msgid " : "
msgstr " : "
@@ -210,7 +206,7 @@
#: ../plcopen/plcopen.py:287
#, python-format
msgid "\"%s\" resource already exists in \"%s\" configuration !!!"
-msgstr "La ressource \"%s\" existe déjà dans la configuration \"%\" !!!"
+msgstr "La ressource \"%s\" existe déjà dans la configuration \"%s\" !!!"
#: ../plcopen/plcopen.py:303
#, python-format
@@ -1039,8 +1035,8 @@
#: ../PLCOpenEditor.py:3725
#: ../PLCOpenEditor.py:3729
#: ../PLCOpenEditor.py:4017
-#: ../PLCOpenEditor.py:4285
-#: ../PLCOpenEditor.py:4295
+#: ../PLCOpenEditor.py:4283
+#: ../PLCOpenEditor.py:4293
#: ../Viewer.py:369
#: ../TextViewer.py:250
#: ../LDViewer.py:628
--- a/i18n/messages.pot Wed Oct 28 13:51:32 2009 +0100
+++ b/i18n/messages.pot Mon Nov 02 11:59:15 2009 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-12 10:13+0200\n"
+"POT-Creation-Date: 2009-11-02 11:07+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -23,10 +23,8 @@
"\n"
"Click OK to save an error report.\n"
"\n"
-"Please contact LOLITech at:\n"
-"+33 (0)3 29 57 60 42\n"
-"bugs_PLCOpenEditor@lolitech.fr\n"
-"\n"
+"Please be kind enough to send this file to:\n"
+"edouard.tisserant@gmail.com\n"
"\n"
"Error:\n"
msgstr ""
@@ -55,7 +53,7 @@
msgid " Temp"
msgstr ""
-#: ../PLCOpenEditor.py:4284
+#: ../PLCOpenEditor.py:4282
msgid " : "
msgstr ""
@@ -903,7 +901,7 @@
#: ../PLCOpenEditor.py:3599 ../PLCOpenEditor.py:3654 ../PLCOpenEditor.py:3658
#: ../PLCOpenEditor.py:3662 ../PLCOpenEditor.py:3666 ../PLCOpenEditor.py:3717
#: ../PLCOpenEditor.py:3721 ../PLCOpenEditor.py:3725 ../PLCOpenEditor.py:3729
-#: ../PLCOpenEditor.py:4017 ../PLCOpenEditor.py:4285 ../PLCOpenEditor.py:4295
+#: ../PLCOpenEditor.py:4017 ../PLCOpenEditor.py:4283 ../PLCOpenEditor.py:4293
#: ../Viewer.py:369 ../TextViewer.py:250 ../LDViewer.py:628 ../LDViewer.py:850
#: ../LDViewer.py:854 ../VariablePanel.py:331 ../VariablePanel.py:684
#: ../VariablePanel.py:689 ../VariablePanel.py:694 ../VariablePanel.py:699
Binary file locale/fr_FR/LC_MESSAGES/PLCOpenEditor.mo has changed
--- a/plcopeneditor_postinst.py Wed Oct 28 13:51:32 2009 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-# La première ligne doit commencer par #! et contenir python.
-# Elle sera adaptée au système de destination automatiquement
-
-""" This is a part of Beremiz project.
-
- Post installation script for win32 system
-
- This script creat a shortcut for plcopeneditor.py in the desktop and the
- start menu, and remove them at the uninstallation
-
-"""
-
-import os
-import sys
-
-# Ce script sera aussi lancé lors de la désinstallation.
-# Pour n'exécuter du code que lors de l'installation :
-if sys.argv[1] == '-install':
- # On récupère le dossier où mes fichiers seront installés (dossier où python est aussi installé sous windows)
- python_path = sys.prefix
- # On récupère le chemin de pythonw.exe (l'exécutable python qui n'affiche pas de console).
- # Si vous voulez une console, remplacez pythonw.exe par python.exe
- pyw_path = os.path.abspath(os.path.join(python_path, 'pythonw.exe'))
- # On récupère le dossier coincoin
- plcopeneditor_dir = os.path.abspath(os.path.join(python_path,'LOLITech', 'plcopeneditor'))
-
- # On récupère les chemins de coincoin.py, et de coincoin.ico
- # (Ben oui, l'icone est au format ico, oubliez le svg, ici on en est encore à la préhistoire.
- # Heureusement que the GIMP sait faire la conversion !)
- ico_path = os.path.join(plcopeneditor_dir, 'plcopeneditor.ico')
- script_path = os.path.join(plcopeneditor_dir, 'plcopeneditor.py')
-
- # Création des raccourcis
- # Pour chaque raccourci, on essaye de le faire pour tous les utilisateurs (Windows NT/2000/XP),
- # sinon on le fait pour l'utilisateur courant (Windows 95/98/ME)
-
- # Raccourcis du bureau
- # On essaye de trouver un bureau
- try:
- desktop_path = get_special_folder_path("CSIDL_COMMON_DESKTOPDIRECTORY")
- except OSError:
- desktop_path = get_special_folder_path("CSIDL_DESKTOPDIRECTORY")
-
- # On créé le raccourcis
- create_shortcut(pyw_path, # programme à lancer
- "Can Node Editor", # Description
- os.path.join(desktop_path, 'plcopeneditor.lnk'), # fichier du raccourcis (gardez le .lnk)
- script_path, # Argument (script python)
- plcopeneditor_dir, # Dossier courant
- ico_path # Fichier de l'icone
- )
- # On va cafter au programme de désinstallation qu'on a fait un fichier, pour qu'il soit supprimé
- # lors de la désinstallation
- file_created(os.path.join(desktop_path, 'plcopeneditor.lnk'))
-
- # Raccourcis dans le menu démarrer (idem qu'avant)
- try:
- start_path = get_special_folder_path("CSIDL_COMMON_PROGRAMS")
- except OSError:
- start_path = get_special_folder_path("CSIDL_PROGRAMS")
-
-
-
- # Création du dossier dans le menu programme
- programs_path = os.path.join(start_path, "LOLITech")
- try :
- os.mkdir(programs_path)
-
- except OSError:
-
- pass
- directory_created(programs_path)
-
- create_shortcut(pyw_path, # Cible
- "Editor for the 5 of the IEC-61131-3 languages", #Description
- os.path.join(programs_path, 'plcopeneditor.lnk'), # Fichier
- script_path, # Argument
- plcopeneditor_dir, # Dossier de travail
- ico_path # Icone
- )
- file_created(os.path.join(programs_path, 'plcopeneditor.lnk'))
-
- # End (youpi-message)
- # Ce message sera affiché (très) furtivement dans l'installateur.
- # Vous pouvez vous en servir comme moyen de communication secret, c'est très in.
- sys.stdout.write("Shortcuts created.")
- # Fin du bidule
- sys.exit()
--- a/setup.py Wed Oct 28 13:51:32 2009 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-import os,sys,glob
-from distutils.core import setup
-
-
-install_dir=os.path.join("LOLITech","plcopeneditor")
-
-data_files=[]
-os.getcwd()
-os.chdir(os.getcwd())
-
-def generate(base_dir):
- listfile=[]
- if base_dir == "":
- directory = "."
- else:
- directory = base_dir
- data_files.append((os.path.join(install_dir, base_dir), listfile))
-
- for element in os.listdir(directory):
- element_path=os.path.join(base_dir, element)
- if os.path.isdir(element_path):
- generate(element_path)
- elif os.path.isfile(element_path):
- listfile.append(element_path)
-
-generate("")
-
-
-setup(name='PlcOpenEditor', # Name of the executable
- version='0.1', # Version
- description='Editor for the 5 of the IEC-61131-3 languages', #description
- author='Edouard Tisserant, Laurent Bessard',
- author_email='laurent.bessard@lolitech.fr',
- url='http://www.beremiz.org',
- license='GPL',
- scripts=['plcopeneditor_postinst.py'],
- data_files=data_files, # Add files to install
-)
\ No newline at end of file