Skip to content
Snippets Groups Projects
Commit 979fa881 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[build] Pre-installs ipdb instead of ipython as this package is available on...

[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
parent ca9e9136
No related branches found
No related tags found
1 merge request!284Pre-installs ipdb instead of ipython
Pipeline #59980 passed
...@@ -348,7 +348,7 @@ def parse_dependencies(recipe_dir, config): ...@@ -348,7 +348,7 @@ def parse_dependencies(recipe_dir, config):
# further requirements # further requirements
requirements += [ requirements += [
"pip", # required for installing further packages "pip", # required for installing further packages
"ipython", # for ipdb "ipdb", # for debugging
] ]
# remove duplicates without affecting the order # remove duplicates without affecting the order
......
...@@ -65,12 +65,12 @@ Examples: ...@@ -65,12 +65,12 @@ Examples:
explained in our Setup subsection of the Installation manual. To use this explained in our Setup subsection of the Installation manual. To use this
flag on the command-line, specify one pip-installable package each time: 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. Using this option **adds** to what is available in the configuration file.
So, if your configuration file already contains ``ipdb`` and you wish to So, if your configuration file already contains ``pre-commit`` and you
install ``mr.developer`` as a plus, then just specify wish to install ``logging_tree`` as a plus, then just specify
``--pip-extras=mr.developer``. ``--pip-extras=logging_tree``.
""" """
) )
......
...@@ -98,11 +98,10 @@ pip-installable packages, create a section named ``create`` in the file ...@@ -98,11 +98,10 @@ pip-installable packages, create a section named ``create`` in the file
.. code-block:: ini .. code-block:: ini
[create] [create]
pip_extras = ipdb pip_extras = pre-commit
pre-commit
Then, by default, ``bdt dev create`` will automatically pip install ``ipdb`` Then, by default, ``bdt dev create`` will automatically pip install
and ``pre-commit`` at environment creation time. You may reset this list to ``pre-commit`` at environment creation time. You may reset this list to your
your liking. liking.
.. include:: links.rst .. include:: links.rst
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment