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
8 changes: 5 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ 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("nlopt/2.7.1")
self.requires("cpython/3.12.7")
self.requires("nlopt/2.10.0")

# Although not a direct dependency, clipper is for some reason required at link-time
self.requires("clipper/6.4.2@ultimaker/stable")
Expand Down Expand Up @@ -124,7 +124,9 @@ def generate(self):

# Generate the Source code from SIP
tc = self.python_requires["sipbuildtool"].module.SipBuildTool(self)
tc.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")
tc.configure(sip_install_executable=sip_build_path)
tc.build()

def layout(self):
Expand Down