Repositori ini memegang kode untuk membangun roda platform RDKIT untuk Linux, MacOS, dan Windows on Github Action dan Circle CI. Roda berisi pustaka dinamis khusus platform yang dikompilasi ( *.so , *.dylib , dan *.dll ) dan tersedia di PYPI. RDKIT dapat dengan mudah diinstal menggunakan
pip install rdkit CATATAN: Versi RDKIT yang lebih lama mungkin tersedia di repositori rdkit-pypi PYPI ( pip install rdkit-pypi ). rdkit-pypi adalah nama lama dari proyek ini di PYPI. Versi RDKit di masa depan akan tersedia di repositori rdkit PYPI. Harap perbarui dependensi Anda, yaitu, ubah rdkit-pypi ke rdkit .
Harap buka masalah jika Anda menemukan sesuatu yang hilang atau tidak berfungsi seperti yang diharapkan.
| Os | Lengkungan | Sedikit | Kondisi | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | Ci |
|---|---|---|---|---|---|---|---|---|---|
| Linux | intel | 64 | GLIBC> = 2.28 (misalnya, Ubuntu 18.04+, Centos 6+, ...) | Terakhir: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Tindakan GitHub |
| Linux | aarch64 | 64 | GLIBC> = 2.28 (misalnya, Raspberry Pi, ...) | Terakhir: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Lingkaran CI |
| MacOS | intel | 64 | > = MacOS 10.13 | Terakhir: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Tindakan GitHub |
| MacOS | ARMV8 | 64 | > = MacOS 11, perangkat keras M1 | Terakhir: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Tindakan GitHub |
| Windows | intel | 64 | Terakhir: 2024.3.5 | ✔️ | ✔️ | ✔️ | ✔️ | Tindakan GitHub |
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 membutuhkan 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 Ganti cp39-manylinux_x86_64 dengan cp310-manylinux_x86_64 , cp311-manylinux_x86_64 , atau cp312-manylinux_x86_64 untuk dibangun untuk python yang berbeda python yang berbeda