[Python] What is pip's equivalent of `npm install package --save-dev`?

Discussão em 'Python' iniciado por Stack, Dezembro 1, 2024.

  1. Stack

    Stack Membro Participativo

    In nodejs, I can do npm install package --save-dev to save the installed package into the package.

    How do I achieve the same thing in Python package manager pip? I would like to save the package name and its version into, say, requirements.pip just after installing the package using something like pip install package --save-dev requirements.pip.

    Continue reading...

Compartilhe esta Página