Skip to content

Commit

Permalink
Merge pull request #319 from loriab/loriab-patch-2
Browse files Browse the repository at this point in the history
fix CI for setuptools=69
  • Loading branch information
evaleev authored Jan 31, 2024
2 parents 4482d01 + 3341dab commit 271e481
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion export/cmake/CMakeLists.txt.export
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(Libint LANGUAGES CXX C)
# Set Libint version ===================================================================================================
set(LIBINT_MAJOR_VERSION 2)
set(LIBINT_MINOR_VERSION 8)
set(LIBINT_MICRO_VERSION 1)
set(LIBINT_MICRO_VERSION 1) # Sync this with python/CMakeLists.txt
set(LIBINT_BUILDID )
set(LIBINT_VERSION "${LIBINT_MAJOR_VERSION}.${LIBINT_MINOR_VERSION}.${LIBINT_MICRO_VERSION}")
if (LIBINT_BUILDID)
Expand Down
5 changes: 5 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ else()
endif()
cmake_policy(SET CMP0079 NEW)

if(NOT DEFINED LIBINT_VERSION)
# for indep bld of project(libint2-python), version not available from project(Libint2)
set(LIBINT_VERSION "2.8.1") # for version for setup.py from libtool+cmake
endif()

project(libint2-python)

if (NOT TARGET Python::Module)
Expand Down

0 comments on commit 271e481

Please sign in to comment.