From 979fa881443f88fc492f0bc5a0a04415f7ccd74e Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Tue, 5 Apr 2022 09:23:25 +0200 Subject: [PATCH] [build] Pre-installs ipdb instead of ipython as this package is available on conda-forge; Installing only ipython makes pip installs longer after the base install --- bob/devtools/build.py | 2 +- bob/devtools/scripts/create.py | 8 ++++---- doc/install.rst | 9 ++++----- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/bob/devtools/build.py b/bob/devtools/build.py index 53b6429e..e11b8235 100644 --- a/bob/devtools/build.py +++ b/bob/devtools/build.py @@ -348,7 +348,7 @@ def parse_dependencies(recipe_dir, config): # further requirements requirements += [ "pip", # required for installing further packages - "ipython", # for ipdb + "ipdb", # for debugging ] # remove duplicates without affecting the order diff --git a/bob/devtools/scripts/create.py b/bob/devtools/scripts/create.py index 1744b683..2aa32bd4 100644 --- a/bob/devtools/scripts/create.py +++ b/bob/devtools/scripts/create.py @@ -65,12 +65,12 @@ Examples: explained in our Setup subsection of the Installation manual. To use this flag on the command-line, specify one pip-installable package each time: - $ bdt dev create -vvv --pip-extras=ipdb --pip-extras=mr.developer myenv + $ bdt dev create -vvv --pip-extras='pre-commit' myenv Using this option **adds** to what is available in the configuration file. - So, if your configuration file already contains ``ipdb`` and you wish to - install ``mr.developer`` as a plus, then just specify - ``--pip-extras=mr.developer``. + So, if your configuration file already contains ``pre-commit`` and you + wish to install ``logging_tree`` as a plus, then just specify + ``--pip-extras=logging_tree``. """ ) diff --git a/doc/install.rst b/doc/install.rst index 92c4ad86..58faf4b2 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -98,11 +98,10 @@ pip-installable packages, create a section named ``create`` in the file .. code-block:: ini [create] - pip_extras = ipdb - pre-commit + pip_extras = pre-commit -Then, by default, ``bdt dev create`` will automatically pip install ``ipdb`` -and ``pre-commit`` at environment creation time. You may reset this list to -your liking. +Then, by default, ``bdt dev create`` will automatically pip install +``pre-commit`` at environment creation time. You may reset this list to your +liking. .. include:: links.rst -- GitLab