diff --git a/CMakeLists.txt b/CMakeLists.txt index f6239fc..b2ace27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required (VERSION 3.0) project(ggwave VERSION 0.2.0) +set(GGWAVE_VERSION_PYTHON 0.2.1) + # configure project version configure_file(${CMAKE_SOURCE_DIR}/README-tmpl.md ${CMAKE_SOURCE_DIR}/README.md @ONLY) configure_file(${CMAKE_SOURCE_DIR}/bindings/python/setup-tmpl.py ${CMAKE_SOURCE_DIR}/bindings/python/setup.py @ONLY) diff --git a/bindings/CMakeLists.txt b/bindings/CMakeLists.txt index a054cfa..1b1b70f 100644 --- a/bindings/CMakeLists.txt +++ b/bindings/CMakeLists.txt @@ -49,7 +49,7 @@ if (GGWAVE_SUPPORT_PYTHON) DEPENDS ${GGWAVE_SOURCES} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/python COMMAND make publish - COMMENT "Publishing Python module v${PROJECT_VERSION}" + COMMENT "Publishing Python module v${GGWAVE_VERSION_PYTHON}" VERBATIM ) diff --git a/bindings/python/setup-tmpl.py b/bindings/python/setup-tmpl.py index f5b3849..9c179b2 100644 --- a/bindings/python/setup-tmpl.py +++ b/bindings/python/setup-tmpl.py @@ -30,7 +30,7 @@ setup( name = "ggwave", description = "Tiny data-over-sound library.", long_description = long_description, - version = "@PROJECT_VERSION@", + version = "@GGWAVE_VERSION_PYTHON@", url = "https://github.com/ggerganov/ggwave", author = "Georgi Gerganov", author_email = "ggerganov@gmail.com", diff --git a/bindings/python/setup.py b/bindings/python/setup.py index c2a276c..60ec03a 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -30,7 +30,7 @@ setup( name = "ggwave", description = "Tiny data-over-sound library.", long_description = long_description, - version = "0.2.0", + version = "0.2.1", url = "https://github.com/ggerganov/ggwave", author = "Georgi Gerganov", author_email = "ggerganov@gmail.com",