Open tboddyspargo opened 8 months ago
What tool are you planning to consume pyproject.toml with?
What tool are you planning to consume pyproject.toml with?
My hope is that when performing pip install oscrypto @ git+https://github.com/wbond/oscrypto.git@d5f3437ed24257895ae1edd9e503cfb352e635a8
, pip
will be able to use pyproject.toml
(or some expression of build requirements) to install setuptools
and any other build dependencies in its isolated build environment without needing to rely on the global/virtual environment for the presence of setuptools
. setuptools
is not guaranteed to be present in all environments (example, example), so explicitly declaring the build requirement in some pip-supported manner may help in some situations (like in my team's case, hopefully).
I didn’t realize pip now supports pyproject.toml
Hi, @wbond! I believe I've understood that you're working on a new release, so I wanted to make this small request.
I'm hopeful that adding a
pyproject.toml
file with a build system specified (or some other method of specifying build dependencies) will help in some cases to make sure thatsetuptools
is available in the build environment.It may be rare for
setuptools
to not be present, but my team has recently run into this error:While we are attempting work-arounds (obviously,
pip install -U setuptools
), this is much tricker to resolve than anticipated because we are caching the virtual environment in CI and it may be corrupting (?) thesetuptools
installation, so this error still comes up despite explicitly installingsetuptools
.Anyway, my hope is that the presence of some explicit build requirements might allow the isolated environment to install its own version of
setuptools
with more success.Thanks for your consideration!