Skip to content

Commit

Permalink
Put version in C++ lib again
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannes Ovrén committed May 3, 2018
1 parent 3934e8b commit 177a43c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ def __init__(self, module):
long_description = "Omitting long_description since `README.md` is in a parent path."

# Version is defined by C++ library
#with open(here / '../cpplib/CMakeLists.txt') as f:
# m = re.search(r'project\(Kontiki VERSION ([\w\.]+)\)', f.read())
# version = m.groups(0)[0]
with open(here / '../cpplib/CMakeLists.txt') as f:
m = re.search(r'project\(Kontiki VERSION ([\w\.]+)\)', f.read())
version = m.groups(0)[0]

setup(
name='kontiki',
version='0.9.1-dev5',
version=version,
author='Hannes Ovrén',
author_email='hannes.ovren@liu.se',
description='Continuous-time toolkit for trajectory estimation',
Expand Down

0 comments on commit 177a43c

Please sign in to comment.