I am opening this PR as a draft; it will be needed in the future given changes in the Python distribution. Please feel free to contribute, as it is likely I will not have the time to figure everything out.
I have tried to identify instances where distutils is used and replace them with equivalent calls from either setuptools or sysconfig. In some places, things work, but in others, they do not.
Something of potential interest is setuptools indicating that the setup.py approach is deprecated. Instead, pyproject.toml and setup.cfg files should be used, in combination with the build and pip packages. A fluidity package can be built this way, but I am not sure if it is relevant.
Closes #346
I am opening this PR as a draft; it will be needed in the future given changes in the Python distribution. Please feel free to contribute, as it is likely I will not have the time to figure everything out.
I have tried to identify instances where
distutils
is used and replace them with equivalent calls from eithersetuptools
orsysconfig
. In some places, things work, but in others, they do not.Something of potential interest is
setuptools
indicating that thesetup.py
approach is deprecated. Instead,pyproject.toml
andsetup.cfg
files should be used, in combination with thebuild
andpip
packages. A fluidity package can be built this way, but I am not sure if it is relevant.