[DEV] add the version number in the current package build
This commit is contained in:
parent
8a72df67c6
commit
6c431ad300
@ -387,22 +387,23 @@ class Module:
|
|||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
# -- Generic library help --
|
# -- Generic library help --
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
|
package_version_string = tools.version_to_string(self.package_prop["VERSION"]);
|
||||||
if self.type == 'PREBUILD':
|
if self.type == 'PREBUILD':
|
||||||
debug.print_element("Prebuild", self.name, "", "")
|
debug.print_element("Prebuild", self.name, "-", package_version_string)
|
||||||
if self.type == 'LIBRARY':
|
elif self.type == 'LIBRARY':
|
||||||
debug.print_element("Library", self.name, "", "")
|
debug.print_element("Library", self.name, "-", package_version_string)
|
||||||
if self.type == 'LIBRARY_DYNAMIC':
|
elif self.type == 'LIBRARY_DYNAMIC':
|
||||||
debug.print_element("Library(dynamic)", self.name, "", "")
|
debug.print_element("Library(dynamic)", self.name, "-", package_version_string)
|
||||||
if self.type == 'LIBRARY_STATIC':
|
elif self.type == 'LIBRARY_STATIC':
|
||||||
debug.print_element("Library(static)", self.name, "", "")
|
debug.print_element("Library(static)", self.name, "-", package_version_string)
|
||||||
if self.type == 'BINARY':
|
elif self.type == 'BINARY':
|
||||||
debug.print_element("Binary(auto)", self.name, "", "")
|
debug.print_element("Binary(auto)", self.name, "-", package_version_string)
|
||||||
if self.type == 'BINARY_SHARED':
|
elif self.type == 'BINARY_SHARED':
|
||||||
debug.print_element("Binary (shared)", self.name, "", "")
|
debug.print_element("Binary (shared)", self.name, "-", package_version_string)
|
||||||
if self.type == 'BINARY_STAND_ALONE':
|
elif self.type == 'BINARY_STAND_ALONE':
|
||||||
debug.print_element("Binary (stand alone)", self.name, "", "")
|
debug.print_element("Binary (stand alone)", self.name, "-", package_version_string)
|
||||||
if self.type == 'PACKAGE':
|
elif self.type == 'PACKAGE':
|
||||||
debug.print_element("Package", self.name, "", "")
|
debug.print_element("Package", self.name, "-", package_version_string)
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
# -- Sources compilation --
|
# -- Sources compilation --
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
@ -958,7 +959,7 @@ def import_path(path):
|
|||||||
module_name = filename.replace('.py', '')
|
module_name = filename.replace('.py', '')
|
||||||
module_name = module_name.replace(__start_module_name, '')
|
module_name = module_name.replace(__start_module_name, '')
|
||||||
debug.debug("MODULE: Integrate module: '" + module_name + "' from '" + os.path.join(root, filename) + "'")
|
debug.debug("MODULE: Integrate module: '" + module_name + "' from '" + os.path.join(root, filename) + "'")
|
||||||
module_list.append([module_name,os.path.join(root, filename)])
|
module_list.append([module_name, os.path.join(root, filename)])
|
||||||
debug.verbose("New list module: ")
|
debug.verbose("New list module: ")
|
||||||
for mod in module_list:
|
for mod in module_list:
|
||||||
debug.verbose(" " + str(mod[0]))
|
debug.verbose(" " + str(mod[0]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user