mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-06 00:36:13 +08:00
cmake : separate version string for python package
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user