Fix package_data specification to include pyx files for Cython builds. This fixes building of a standalone distributable python package.

This commit is contained in:
Bob 2022-03-03 17:20:44 -08:00
parent 0424631b4f
commit cf273b35a3

View file

@ -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']
},