diff --git a/source/wrappers/python/setup.py.in b/source/wrappers/python/setup.py.in index 3eefcdbe..e78fdf96 100644 --- a/source/wrappers/python/setup.py.in +++ b/source/wrappers/python/setup.py.in @@ -82,7 +82,7 @@ ext = Extension( def get_version(): version = '@PROJECT_VERSION@' if version.count('.') > 2: - version = "Post.".join(s.rsplit('.', 1)) + version = ".Post".join(version.rsplit('.', 1)) print("setup version = %s" % version) return version