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

Workaround to fix and install openbabel bindings #161

Merged
merged 5 commits into from
Dec 12, 2024

Conversation

mestia
Copy link
Contributor

@mestia mestia commented Dec 12, 2024

Attempt to make pip install plip just work.
pip install plip fails due to a bug in openbabel python bindings distribution on pypi. [0]
The changes from this PR will check if openbabel bindings module is loadable and if not, will attempt to download, fix and install them during plip build process.

On recent Debian/Ubuntu systems, it is sufficient to install the python3-openbabel package, which will pull all the necessary binary dependencies. If pre-packaged bindings are not present, the requirements are OpenBabel development files, the OpenBabel library, SWIG, and pkg-config, since OpenBabel's setup.py relies on pkg-config and properly installed OpenBabel.

[0] openbabel/openbabel#2408

Alex Mestiashvili added 5 commits December 11, 2024 18:05
Other requirements are SWIG and openbabel dev files
Use Debian stable as the base, no need to build openbabel, since it is
in the recent state since Bullseye
@mestia mestia merged commit 37f0097 into pharmai:development Dec 12, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant