DONE 0.1.2 : Corriger l'indentation
DONE 0.1.3 : Faire un objet ListeHoraire
DONE 0.1.4 : Faire un .deb
-
+ DONE 0.1.5 : transformer example.cfg en masstransit.cfg
+ TODO 0.1.6 : mettre les chemin par rapport à /opt/masstransit/
p.distribution="fremantle"
p.repository="extras-devel"
p.xsbc_bugtracker="http://bugs.maemo.org"
- p.postinstall="""#!/bin/sh chmod +x /opt/masstransit/masstransit.py """ #Set here your post install script
+ p.postinstall="""#!/bin/sh
+ chmod +x /opt/masstransit/masstransit.py """ #Set here your post install script
# p.postremove="""#!/bin/sh
# chmod +x /usr/bin/mclock.py""" #Set here your post remove script
# p.preinstall="""#!/bin/sh
# p.preremove="""#!/bin/sh
# chmod +x /usr/bin/mclock.py""" #Set here your pre remove script
version = "0.1.3" #Version of your software, e.g. "1.2.0" or "0.8.2"
- build = "3" #Build number, e.g. "1" for the first build of this version of your software. Increment for later re-builds of the same version of your software.
+ build = "4" #Build number, e.g. "1" for the first build of this version of your software. Increment for later re-builds of the same version of your software.
#Text with changelog information to be displayed in the package "Details" tab of the Maemo Application Manager
changeloginformation = "Fixed (large) icon."
dir_name = "src" #Name of the subfolder containing your package source files (e.g. usr\share\icons\hicolor\scalable\myappicon.svg, usr\lib\myapp\somelib.py). We suggest to leave it named src in all projects and will refer to that in the wiki article on maemo.org
gtk.main_quit()
def on_refreshButton_clicked(self, widget):
- gare_source = LongNameGare(self.combo_source.get_current_text()).get_gare(ConfFile('example.cfg'))
- gare_dest = LongNameGare(self.combo_dest.get_current_text()).get_gare(ConfFile('example.cfg'))
+ conf = ConfFile('/opt/masstransit/example.cfg')
+ gare_source = LongNameGare(self.combo_source.get_current_text()).get_gare(conf)
+ gare_dest = LongNameGare(self.combo_dest.get_current_text()).get_gare(conf)
trajet = Trajet(gare_source , gare_dest)
print trajet
print self.treestore