Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/sentencepiece.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rgrundkiewicz@gmail.com>2022-09-02 10:16:53 +0300
committerRoman Grundkiewicz <rgrundkiewicz@gmail.com>2022-09-02 10:16:53 +0300
commitee76b9e0d23d019ab2b228203e346447b2dcde15 (patch)
tree6d4e80639a46e92665aa2c88e3d3a1627cf2b3fd
parent5312a306c4c0a458e29a8882ebfb42a179aaf580 (diff)
Rename VERSION to VERSION.txtrename-version
-rw-r--r--CMakeLists.txt2
-rw-r--r--VERSION.txt (renamed from VERSION)0
-rwxr-xr-xpython/setup.py2
3 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0ef8af2..d214ee4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@
# limitations under the License.!
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
-file(STRINGS "VERSION" SPM_VERSION)
+file(STRINGS "VERSION.txt" SPM_VERSION)
message(STATUS "VERSION: ${SPM_VERSION}")
SET(SPM_ARTIFACT_NAME "sentencepiece" CACHE STRING "Default name of the \
generated artifacts. Override to avoid name conflicts.")
diff --git a/VERSION b/VERSION.txt
index e982215..e982215 100644
--- a/VERSION
+++ b/VERSION.txt
diff --git a/python/setup.py b/python/setup.py
index 1e9bf07..9551ad9 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -33,7 +33,7 @@ def long_description():
def version():
- with codecs.open('VERSION', 'r', 'utf-8') as f:
+ with codecs.open('VERSION.txt', 'r', 'utf-8') as f:
version = f.read().rstrip()
return version