Skip to content

Developing without buildout

Here are some ideas/tips of developing without buildout:

  • pip install --no-build-isolation makes pip installations of our Bob packages inside a conda environment cleaner, and is probably required if we have a C++ package.
  • pip install --no-dependencies is also an option that we want to use when installing a Bob package inside a conda environment because dependencies are supposed to come from conda.

pip supports a config file per environment (in the root folder of the conda environment, see its location with pip config debug), I wonder if we should add:

[global]
verbose = 1

[install]
no-build-isolation = false  # false means: pip install --no-build-isolation
no-dependencies = true  # true means: pip install --no-dependencies

when creating an env with bdt create. However, this would affect all pip installations which is not what we want ...