From 4ee748bf100ee1aa0be3f24d685b996f66070443 Mon Sep 17 00:00:00 2001 From: Yuichi Motoyama Date: Fri, 17 Nov 2023 12:57:07 +0900 Subject: [PATCH] v2.0.0 --- CMakeLists.txt | 2 +- docs/sphinx/en/conf.py | 2 +- docs/sphinx/ja/conf.py | 2 +- misc/make_archive.sh | 2 +- src/version.hpp | 2 +- tool/tenes_simple.py | 2 +- tool/tenes_std.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af03e8af..21f7c483 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.6...3.14) message(STATUS "CMake version: " ${CMAKE_VERSION}) project(TeNeS CXX) -set(TENES_VERSION 2.0-dev) +set(TENES_VERSION 2.0.0) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/docs/sphinx/en/conf.py b/docs/sphinx/en/conf.py index dc84c581..4dab51c7 100644 --- a/docs/sphinx/en/conf.py +++ b/docs/sphinx/en/conf.py @@ -57,7 +57,7 @@ # The short X.Y version. version = u'2.0' # The full version, including alpha/beta/rc tags. -release = u'2.0-dev' +release = u'2.0.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/sphinx/ja/conf.py b/docs/sphinx/ja/conf.py index 74f82bb7..f2a4b1fa 100644 --- a/docs/sphinx/ja/conf.py +++ b/docs/sphinx/ja/conf.py @@ -57,7 +57,7 @@ # The short X.Y version. version = u'2.0' # The full version, including alpha/beta/rc tags. -release = u'2.0-dev' +release = u'2.0.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/misc/make_archive.sh b/misc/make_archive.sh index 017fed88..a2b9aed1 100644 --- a/misc/make_archive.sh +++ b/misc/make_archive.sh @@ -27,7 +27,7 @@ for lang in ja en; do done cd $ROOT_DIR -version=2.0-dev +version=2.0.0 git submodule update -i -r git-archive-all \ diff --git a/src/version.hpp b/src/version.hpp index 740b7342..ebf3623c 100644 --- a/src/version.hpp +++ b/src/version.hpp @@ -17,6 +17,6 @@ #ifndef TENES_SRC_VERSION_HPP_ #define TENES_SRC_VERSION_HPP_ -#define TENES_VERSION "2.0-dev" +#define TENES_VERSION "2.0.0" #endif // TENES_SRC_VERSION_HPP_ diff --git a/tool/tenes_simple.py b/tool/tenes_simple.py index 07cabb7b..283ba90a 100644 --- a/tool/tenes_simple.py +++ b/tool/tenes_simple.py @@ -1349,7 +1349,7 @@ def tenes_simple( help="Save onsite terms as site Hamiltonians", ) parser.add_argument( - "-v", "--version", dest="version", action="version", version="2.0-dev" + "-v", "--version", dest="version", action="version", version="2.0.0" ) args = parser.parse_args() diff --git a/tool/tenes_std.py b/tool/tenes_std.py index 747c7af5..e6ec7a11 100644 --- a/tool/tenes_std.py +++ b/tool/tenes_std.py @@ -1133,7 +1133,7 @@ def to_toml(self, f: TextIO): "-o", "--output", dest="output", default="input.toml", help="Output TOML file" ) parser.add_argument( - "-v", "--version", dest="version", action="version", version="2.0-dev" + "-v", "--version", dest="version", action="version", version="2.0.0" ) args = parser.parse_args()