diff --git a/ostap/CMakeLists.txt b/ostap/CMakeLists.txt index 93efdf8b..53fd844c 100644 --- a/ostap/CMakeLists.txt +++ b/ostap/CMakeLists.txt @@ -347,12 +347,15 @@ list(FILTER allfiles EXCLUDE REGEX ".*\\/__init__\\.py$") list(FILTER allfiles EXCLUDE REGEX ".*\\/tests/.*\\.py$") list(FILTER allfiles EXCLUDE REGEX ".*\\/sp_.*\\.py$") list(FILTER allfiles EXCLUDE REGEX ".*\\/.*#.*\\.py$") +## if ( Python_VERSION VERSION_LESS "3.3") list(FILTER allfiles EXCLUDE REGEX ".*\\/lzshelve\\.py$") -endif () +endif () +## if ( Python_VERSION VERSION_LESS "3.6") list(FILTER allfiles EXCLUDE REGEX ".*\\/zstshelve\\.py$") -endif () +endif () +## if ( NOT ${PY_zstandard_FOUND} ) list(FILTER allfiles EXCLUDE REGEX ".*\\/zstshelve\\.py$") endif() diff --git a/ostap/__init__.py.in b/ostap/__init__.py.in index cb2ba214..27bb0dc3 100644 --- a/ostap/__init__.py.in +++ b/ostap/__init__.py.in @@ -45,7 +45,7 @@ version_info = VersionInfo ( @OSTAP_VERSION_MAJOR@ , @OSTAP_VERSION_PATCH@ , @OSTAP_VERSION_TWEAK@ ) build_date = __date__ -build_time = datetime.datetime.utcfromtimestamp ( @OSTAP_BUILD_UTCUNIX@ ) +build_time = datetime.datetime.fromtimestamp ( @OSTAP_BUILD_UTCUNIX@ , datetime.UTC ) version_int = version_info.tweak +\ version_info.patch * 100 +\ version_info.minor * 100 * 100 +\