Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to build without Python support #23

Open
elliotcmorris opened this issue Feb 3, 2023 · 2 comments
Open

Ability to build without Python support #23

elliotcmorris opened this issue Feb 3, 2023 · 2 comments
Milestone

Comments

@elliotcmorris
Copy link
Contributor

elliotcmorris commented Feb 3, 2023

Currently, the resolver assumes a python environment, ergo, it needs to be run from a python application, even though the USD libs that load it are C++.

This isn't neccesarily great, we should consider how to let the resolver run in non-python contexts.

@feltech
Copy link
Member

feltech commented Aug 22, 2024

I think this needs to be a build option. E.g. USDOPENASSETIORESOLVER_ENABLE_PYTHON.

We can default the build option value based on whether the discovered USD package dependency supports Python or not (i.e. was build with PXR_ENABLE_PYTHON_SUPPORT).

We should allow manual override, since it is possible that the user wishes to use in an application with Python available, and that uses USD without Python support.

@feltech feltech changed the title Consider bringing our own python environment. Ability to build without Python support Aug 22, 2024
@feltech
Copy link
Member

feltech commented Aug 22, 2024

This issue was originally written before the usdOpenAssetIOResolver supported C++ OpenAssetIO plugins, and so was framed as a need to ensure Python was available. I've updated the title/description to instead frame as a need to make Python optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants