Closed jacklovell closed 2 years ago
I've submitted this PR against the master branch as it contains no functional changes to Raysect and end users would see the result quicker if it resulted in a 0.7.2
or even 0.7.1.post1
release, but it would apply equally well to the development branch.
This means it's now possible to install raysect from source or sdist without having to manually install Cython and numpy first. It also enables wheels to be built using PyPA's build package, with proper build isolation, which should simplify the process of producing manylinux wheels.
The procedure to build a wheel is now as simple as:
This also means users don't get an error when doing
pip install raysect
in a Python environment for which there isn't a raysect wheel and Cython/numpy aren't already installed, e.g. a fresh Python 3.6 or 3.10 virtualenv.It'll also simplify the procedure for building manylinux wheelsl for downstream projects like Cherab, since the
build
module will be able to properly handle raysect as a build dependency without erroring.I noticed in
setup.py
the minimum runtime version of Numpy is given as0.14
. I suspect this is a typo and it should be1.14
instead, but haven't changed it until that's confirmed.Fixes #401