Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ docs/source/pythonapi/generated/

# Source build
build
_skbuild

# build from src/utils/setup.py
src/utils/build
Expand Down
9 changes: 9 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ recursive-include vendor *.hh
recursive-include vendor *.hpp
recursive-include vendor *.pc.in
recursive-include vendor *.natvis
global-include openmc
global-include *.c
global-include *.pyx
global-include *.so
recursive-include src/openmc *.c
recursive-include src/openmc *.pyx
recursive-include src/openmc *.so
global-include *.dylib
recursive-include numpy *.h
include vendor/gsl-lite/include/gsl/gsl
prune docs/build
prune docs/source/pythonapi/generated/
12 changes: 11 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
[build-system]
requires = ["setuptools", "wheel", "numpy<1.22", "cython"]
requires = [
"setuptools>=65.5.0",
"wheel",
"numpy<1.22",
"cython",
"scikit-build>=0.16.1",
"cmake>=3.10.0",
"ninja",
"setuptools_scm[toml]>=7.0.5"
]
build-backend = "setuptools.build_meta"
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
import sys
import numpy as np

from setuptools import setup, find_packages
from setuptools import find_packages
from skbuild import setup
from Cython.Build import cythonize


Expand Down Expand Up @@ -65,7 +66,7 @@
'python_requires': '>=3.7',
'install_requires': [
'numpy>=1.9', 'h5py', 'scipy', 'ipython', 'matplotlib',
'pandas', 'lxml', 'uncertainties'
'pandas', 'lxml', 'uncertainties', 'cython'
],
'extras_require': {
'depletion-mpi': ['mpi4py'],
Expand Down
2 changes: 1 addition & 1 deletion tools/ci/gha-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fi
python tools/ci/gha-install.py

# Install Python API in editable mode
pip install -e .[test,vtk]
pip install .[test,vtk]

# For coverage testing of the C++ source files
pip install cpp-coveralls
Expand Down