diff --git a/lutin/target.py b/lutin/target.py index caa3012..ced3c61 100644 --- a/lutin/target.py +++ b/lutin/target.py @@ -142,6 +142,9 @@ class Target: self.path_build = os.path.join("build", self.config["compilator"]) def create_number_from_version_string(self, data): + tmp_data = data.split("-") + if len(tmp_data) > 1: + data = tmp_data[0] list = data.split(".") if len(list) == 1: list.append("0") diff --git a/setup.py b/setup.py index 7329244..4d0a8e1 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def readme(): # https://pypi.python.org/pypi?%3Aaction=list_classifiers setup(name='lutin', - version='0.7.2', + version='0.7.3', description='Lutin generic builder', long_description=readme(), url='http://github.com/HeeroYui/lutin',