diff --git a/app.py b/app.py index 2f83917..a76ba5f 100755 --- a/app.py +++ b/app.py @@ -65,6 +65,10 @@ class InVesalius(wx.App): """ Initialize splash screen and main frame. """ + + from multiprocessing import freeze_support + freeze_support() + self.SetAppName("InVesalius 3") self.splash = SplashScreen() self.splash.Show() @@ -283,14 +287,15 @@ def main(): application.MainLoop() if __name__ == '__main__': - # Needed in win 32 exe - if hasattr(sys,"frozen") and (sys.frozen == "windows_exe"\ - or sys.frozen == "console_exe"): - multiprocessing.freeze_support() + #Is needed because of pyinstaller + multiprocessing.freeze_support() + + #Needed in win 32 exe + if hasattr(sys,"frozen") and sys.platform.startswith('win'): #Click in the .inv3 file support root = _winreg.HKEY_CLASSES_ROOT - key = "InVesalius 3.0\InstallationDir" + key = "InVesalius 3.1\InstallationDir" hKey = _winreg.OpenKey (root, key, 0, _winreg.KEY_READ) value, type_ = _winreg.QueryValueEx (hKey, "") path = os.path.join(value,'dist') diff --git a/invesalius/gui/dialogs.py b/invesalius/gui/dialogs.py index 34bc7c5..ca99461 100644 --- a/invesalius/gui/dialogs.py +++ b/invesalius/gui/dialogs.py @@ -991,8 +991,8 @@ def ShowAboutDialog(parent): info = wx.AboutDialogInfo() info.Name = "InVesalius" - info.Version = "3.0" - info.Copyright = _("(c) 2007-2015 Center for Information Technology Renato Archer - CTI") + info.Version = "3.1" + info.Copyright = _("(c) 2007-2017 Center for Information Technology Renato Archer - CTI") info.Description = wordwrap(_("InVesalius is a medical imaging program for 3D reconstruction. It uses a sequence of 2D DICOM image files acquired with CT or MRI scanners. InVesalius allows exporting 3D volumes or surfaces as mesh files for creating physical models of a patient's anatomy using additive manufacturing (3D printing) technologies. The software is developed by Center for Information Technology Renato Archer (CTI), National Council for Scientific and Technological Development (CNPq) and the Brazilian Ministry of Health.\n\n InVesalius must be used only for research. The Center for Information Technology Renato Archer is not responsible for damages caused by the use of this software.\n\n Contact: invesalius@cti.gov.br"), 350, wx.ClientDC(parent)) # _("InVesalius is a software for medical imaging 3D reconstruction. ")+\ @@ -1007,7 +1007,7 @@ def ShowAboutDialog(parent): "Thiago Franco de Moraes", "Jorge Vicente Lopes da Silva", "Victor Hugo de Oliveira e Souza (navigator)", - "Renan Hiroshi Matsuda (navigator)" + "Renan Hiroshi Matsuda (navigator)", "Tatiana Al-Chueyr (former)", "Guilherme Cesar Soares Ruppert (former)", "Fabio de Souza Azevedo (former)", -- libgit2 0.21.2