How would you select/turn on optional packages?

On Thu, Jan 17, 2019 at 12:22 PM PIERRE AUGIER <
pierre.aug...@univ-grenoble-alpes.fr> wrote:

> Hi,
>
> I can't use pyproject.toml for some projects with "optional build
> dependencies" because of build isolation.
>
> However, it would be very useful because we have also real build
> dependencies.
>
> I created an issue in pip repository (
> https://github.com/pypa/pip/issues/6144) but it seems to be a more
> general problem.
>
> I didn't find anything about such potential problem in PEP 517/518. Any
> thoughts how it can be solved?
>
> In the issue, I propose this:
>
> ```
> [build-system]
> # Minimum requirements for the build system to execute.
> requires = [
>     "setuptools", "wheel", "numpy", "cython", "jinja2",
> "fluidpythran>=0.1.7"
> ]
> # packages that are used during the build only if they are installed:
> optional = ["mpi4py", "pythran"]
>
> ```
>
> Pierre Augier
> --
> Distutils-SIG mailing list -- distutils-sig@python.org
> To unsubscribe send an email to distutils-sig-le...@python.org
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/archives/list/distutils-sig@python.org/message/NDCZFPEA7EMTIUSR37LRCI57UCZPWKBQ/
>
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/GNASRJMUQ4X7GWM3VRKWSNGZJILCLBJM/

Reply via email to