Use PEP 518 pyproject.toml file to manage build dependencies

This commit is contained in:
Paul Romano 2018-08-16 09:26:50 -05:00
parent b0333359d5
commit 74c8d70ca6
3 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,7 @@
include CMakeLists.txt
include LICENSE
include schemas.xml
include pyproject.toml
include openmc/data/reconstruct.pyx
include docs/source/_templates/layout.html
include docs/sphinxext/LICENSE

2
pyproject.toml Normal file
View file

@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "numpy", "cython"]

View file

@ -7,10 +7,6 @@ set -ex
# Upgrade pip before doing anything else
pip install --upgrade pip
# Running OpenMC's setup.py requires numpy/cython already
pip install numpy
pip install cython
# pytest installed by default -- make sure we get latest
pip install --upgrade pytest