AcademySoftwareFoundation / AcademySoftwareFoundation/OpenTimelineIO

Python binding is broken: it ignores PYTHON_EXECUTABLE and installs into a wrong prefix

Open
#1,204 8 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
2k
Forks
351
Avg merge
1d 12h
Merged PRs (30d)
1

Description

1. When multiple puthon versions are installed ```PYTHON_EXECUTABLE``` is used to set which python to use.

I set PYTHON_EXECUTABLE=/usr/local/bin/python3.8 but 3.10 is still used

2. It installs python binding into the root directory / instead of the python site libs folder.

Contributor guide

Open the contributing guide

Research direction

Reproduce the two reported cases with PYTHON_EXECUTABLE=/usr/local/bin/python3.8: verify which Python version is selected and where the binding is installed. Trace the Python binding configuration and installation-prefix handling, then confirm that the requested interpreter is used and the binding lands in that interpreter's site-libraries folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.