change the regex to capture the version with " too. closes #67

This commit is contained in:
Mathieu Virbel 2014-04-21 14:06:20 +02:00
parent 7c699033a7
commit 4ad75994d7

View file

@ -25,7 +25,7 @@ source.include_exts = py,png,jpg,kv,atlas
#source.exclude_patterns = license,images/*/*.jpg
# (str) Application versioning (method 1)
version.regex = __version__ = '(.*)'
version.regex = __version__ = ['"](.*)'['"]
version.filename = %(source.dir)s/main.py
# (str) Application versioning (method 2)