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:
-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