Commit c8798ef2 authored by Nicolas Delaby's avatar Nicolas Delaby

Strip version string extract from ERP5Diff Class

parent 5098c0d6
......@@ -7,8 +7,8 @@ import re
api_version = re.search(r'\s*__version__\s*=\s*(\S+)',
open('ERP5Diff.py').read()).group(1).strip()
revision = 0
version = '%s.%s' % (api_version, revision)
version = '%s.%s' % (api_version.replace("'", ''), revision)
print version
setup(name="erp5diff",
version=version,
description="XUpdate Generator for ERP5",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment