Skip to content

Commit

Permalink
Now using Python 3.12 exactly.
Browse files Browse the repository at this point in the history
  • Loading branch information
gogins committed Nov 18, 2024
1 parent 904bee9 commit 2ff23e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ find_package(OpenCV)
find_package(Boost REQUIRED)
message("[DEBUG] Boost_INCLUDE_DIR: ${Boost_INCLUDE_DIR}")
message("[DEBUG] Boost_COMPONENTS: ${Boost_COMPONENTS}")
find_package(Python3 COMPONENTS Interpreter Development)
find_package(Python3 3.12 EXACT COMPONENTS Interpreter Development)
find_package(SWIG)
include(UseSWIG)
find_package(SWIG)
Expand Down
4 changes: 3 additions & 1 deletion CsoundAC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ option(BUILD_CSOUND_AC "Build CsoundAC extension module for Csound with algorith
option(BUILD_CSOUND_AC_PYTHON_INTERFACE "Build the Csound AC Python interface" ON)

find_package(SWIG)
find_package (Python3 COMPONENTS Interpreter Development)

# /opt/homebrew/Cellar/[email protected]/3.12.7_1/Frameworks/Python.framework/Versions/3.12/lib/libpython3.12.dylib -> ../Python)
find_package (Python3 3.12 EXACT COMPONENTS Interpreter Development)
message(STATUS "Python libraries: ${PYTHONLIBS_VERSION_STRING}")

# Prefer the static MusicXML library as there is no system package for it.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ https://gogins.github.io/csound-examples.
1.5 The [OpenCV](https://opencv.org/) library for image processing.

1.6 The [Python](https://www.python.org/) programming language, version
3.9 or higher.
3.12 or higher.

2. There are prebuilt binary releases for this package available at
https://github.com/gogins/csound-ac/releases. These can be downloaded,
Expand Down

0 comments on commit 2ff23e0

Please sign in to comment.