Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Execute pip install   <dependency>
  2. Go to pyproject.toml and look for the dependency section


  3. Add the new dependency into the array of dependencies in pyproject.toml

    Tip
    titleSpecify the dependencies version

    We recommend using version specific definition, if for some reason you need more flexibility on a dependency please check Dependency specifiers

  4. Once your library is in the dependencies section future developer will be able to install all necessary dependencies with

    Code Block
    pip install -e .
Note
titleWhy not use requirements.txt?

You can use requirements file, but we don't recommend this, the use of the pyproject ensures a double check on the dependencies to install, and ins

...