[packaging] dissociate meshroom.__version__ / __version_name__

Introduce meshroom.__version_name__ variable in order not to modify meshroom.__version__ and use this as displayed application version. 
meshroom.__version__ is stored in scene files and used when making a package and should not contain anything other than major.minor.micro information.
This commit is contained in:
Yann Lanthony 2019-06-17 12:46:26 +02:00
parent e3d9c6cf5d
commit a85b4660ce
No known key found for this signature in database
GPG key ID: 519FAE6DF7A70642
2 changed files with 18 additions and 20 deletions

View file

@ -61,7 +61,7 @@ class MeshroomApp(QApplication):
self.setOrganizationName('AliceVision')
self.setApplicationName('Meshroom')
self.setAttribute(Qt.AA_EnableHighDpiScaling)
self.setApplicationVersion(meshroom.__version__)
self.setApplicationVersion(meshroom.__version_name__)
font = self.font()
font.setPointSize(9)