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

Unable to embed rdflib in a python extension #2665

Open
prrvchr opened this issue Dec 17, 2023 · 0 comments
Open

Unable to embed rdflib in a python extension #2665

prrvchr opened this issue Dec 17, 2023 · 0 comments

Comments

@prrvchr
Copy link

prrvchr commented Dec 17, 2023

Hi all,

I need to embed rdflib in a LibreOffice extension written in python.

Libreoffice allows me to add packages to a directory which is added to the python path in order to make them available.

Not being installed by pip, the rdflib package cannot work like this because of the management of the __version__ attribute which requires pip installation (ie: importlib.metadata.metadata("rdflib")["Version"])

This makes it impossible to use the rdflib package without it being installed in the system python (ie: pip install), just because of the handling of the __version__ attribute. it's really a shame.

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

No branches or pull requests

1 participant