Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def export_sources(self):
def requirements(self):
for req in self.conan_data["requirements"]:
self.requires(req)
self.requires("cpython/3.12.2")
self.requires("cpython/3.12.7")

def validate(self):
if self.settings.compiler.cppstd:
Expand Down Expand Up @@ -120,7 +120,9 @@ def generate(self):

# Generate the Source code from SIP
sip = self.python_requires["sipbuildtool"].module.SipBuildTool(self)
sip.configure()
# Use the full path to sip-build from the CPython Scripts directory
sip_build_path = os.path.join(self.dependencies["cpython"].cpp_info.bindirs[0], "Scripts", "sip-build.exe")
sip.configure(sip_install_executable=sip_build_path)
sip.build()

def layout(self):
Expand Down