From ac0c0e48947f408db2ed01e671943f20a38e4429 Mon Sep 17 00:00:00 2001 From: Atharva Tilewale <165510686+AtharvaTilewale@users.noreply.github.com> Date: Sun, 25 Oct 2026 04:27:57 +0530 Subject: [PATCH] Ship rfdiffusion/inference/sym_rots.npz in built distributions find_packages() only collects Python modules, so a non-editable install (pip install ., the wheel, the sdist, and the Dockerfile's `pip install /app/RFdiffusion`) left out rfdiffusion/inference/sym_rots.npz. symmetry.py loads that file from the installed package directory, so every tetrahedral, octahedral and icosahedral run died with FileNotFoundError: .../rfdiffusion/inference/sym_rots.npz Editable installs hide this because they point back at the source tree. Fixes #305 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 6eb62b6..2b5fc7a 100644 --- a/setup.py +++ b/setup.py @@ -7,4 +7,5 @@ url='https://github.com/RosettaCommons/RFdiffusion', scripts=["scripts/run_inference.py"], packages=find_packages(), + package_data={'rfdiffusion.inference': ['sym_rots.npz']}, install_requires=['torch', 'se3-transformer'])