Dieses Repository enthält den Code zum Erstellen von RDKit -Plattformrädern für Linux, MacOS und Windows on Github Action und Circle CI. Die Räder enthalten die kompilierten plattformspezifischen dynamischen Bibliotheken ( *.so , *.dylib und *.dll ) und sind bei PYPI erhältlich. Rdkit kann einfach mithilfe von installiert werden
pip install rdkit HINWEIS: Ältere Versionen von rdkit sind möglicherweise im rdkit-pypi PYPI-Repository ( pip install rdkit-pypi ) erhältlich. rdkit-pypi ist der alte Name dieses Projekts bei PYPI. Zukünftige RDKit -Versionen werden im rdkit PYPI -Repository verfügbar sein. Bitte aktualisieren Sie Ihre Abhängigkeiten, dh, ändern Sie rdkit-pypi in rdkit .
Bitte öffnen Sie ein Problem, wenn Sie etwas fehlen oder nicht wie erwartet funktionieren.
| Betriebssystem | Bogen | Bisschen | Bedingungen | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | CI |
|---|---|---|---|---|---|---|---|---|---|
| Linux | Intel | 64 | GLIBC> = 2,28 (z. B. Ubuntu 18,04+, Centos 6+, ...) | Zuletzt: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Github -Aktionen |
| Linux | aarch64 | 64 | GLIBC> = 2,28 (z. B. Raspberry Pi, ...) | Zuletzt: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Kreis CI |
| macos | Intel | 64 | > = macOS 10.13 | Zuletzt: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Github -Aktionen |
| macos | ARMV8 | 64 | > = macOS 11, M1 -Hardware | Zuletzt: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Github -Aktionen |
| Fenster | Intel | 64 | Zuletzt: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Github -Aktionen |
python -m pip install rdkit
python -c " from rdkit import Chem; print(Chem.MolToMolBlock(Chem.MolFromSmiles('C1CCC1'))) "poetry add rdkit
poetry run python -c " from rdkit import Chem; print(Chem.MolToMolBlock(Chem.MolFromSmiles('C1CCC1'))) " cibuildwheel benötigt patchelf ( apt install patchelf )
python3 -m pip install cibuildwheel
git clone https://github.com/kuelumbus/rdkit-pypi.git
cd rdkit-pypi
CIBW_BUILD=cp39-manylinux_x86_64 python3 -m cibuildwheel --platform linux --output-dir wheelhouse --config-file pyproject.toml cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64