From cf273b35a3b59cd4088364a793025dec0053ce47 Mon Sep 17 00:00:00 2001 From: Bob Date: Thu, 3 Mar 2022 17:20:44 -0800 Subject: [PATCH] Fix package_data specification to include pyx files for Cython builds. This fixes building of a standalone distributable python package. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f2a9929ae..1b2b66a91 100755 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ kwargs = { # Data files and librarries 'package_data': { 'openmc.lib': ['libopenmc.{}'.format(suffix)], - 'openmc.data': ['mass16.txt', 'BREMX.DAT', '*.h5'], + 'openmc.data': ['mass16.txt', 'BREMX.DAT', '*.h5', '*.pyx'], 'openmc.data.effective_dose': ['*.txt'] },