Skip to content

Commit

Permalink
fix ?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Sep 6, 2024
1 parent e9da73d commit c5f87e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions ostap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion ostap/__init__.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 +\
Expand Down

0 comments on commit c5f87e6

Please sign in to comment.