-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from fredboudon/master
fix small dev bugs
- Loading branch information
Showing
21 changed files
with
48 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version_number__ = 0x030000 | ||
__version_number__ = 0x030002 | ||
__revision_str__="" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,21 @@ | ||
# Generate GUI if necessary | ||
try: | ||
import openalea.lpy.gui.py2exe_release | ||
py2exe_release = True | ||
except: | ||
py2exe_release = False | ||
from os.path import dirname, exists, join | ||
ldir = dirname(__file__) | ||
release = exists(join(ldir,'py2exe_release.py')) | ||
|
||
if not py2exe_release: | ||
import compile_ui as ui | ||
# from . import compile_ui as ui | ||
if not release: | ||
print("Generate Ui - imported") | ||
import os.path | ||
ldir = os.path.dirname(__file__) | ||
import compile_ui as ui | ||
print("Generate Ui") | ||
ui.check_ui_generation(os.path.join(ldir, 'lpymainwindow.ui')) | ||
ui.check_ui_generation(os.path.join(ldir, 'debugger_ui.ui')) | ||
ui.check_ui_generation(os.path.join(ldir, 'debugger_right_ui.ui')) | ||
ui.check_ui_generation(os.path.join(ldir, 'logindialog.ui')) | ||
ui.check_ui_generation(os.path.join(ldir, 'logdialog.ui')) | ||
ui.check_rc_generation(os.path.join(ldir, 'lpyresources.qrc')) | ||
ui.check_ui_generation(os.path.join(ldir, 'killsimulationwidget.ui')) | ||
ui.check_ui_generation(os.path.join(ldir, 'lpyprefwidget.ui')) | ||
ui.check_ui_generation(os.path.join(ldir, 'scalarmetaedit.ui')) | ||
ui.check_ui_generation(os.path.join(ldir, 'scalarfloatmetaedit.ui')) | ||
ui.check_rc_generation(join(ldir, 'lpyresources.qrc')) | ||
ui.check_ui_generation(join(ldir, 'lpymainwindow.ui')) | ||
ui.check_ui_generation(join(ldir, 'debugger_ui.ui')) | ||
ui.check_ui_generation(join(ldir, 'debugger_right_ui.ui')) | ||
ui.check_ui_generation(join(ldir, 'logindialog.ui')) | ||
ui.check_ui_generation(join(ldir, 'logdialog.ui')) | ||
ui.check_ui_generation(join(ldir, 'killsimulationwidget.ui')) | ||
ui.check_ui_generation(join(ldir, 'lpyprefwidget.ui')) | ||
ui.check_ui_generation(join(ldir, 'scalarmetaedit.ui')) | ||
ui.check_ui_generation(join(ldir, 'scalarfloatmetaedit.ui')) | ||
del ldir | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters