[Python] How to find the minimum requirements for Python package distribution?

Discussão em 'Python' iniciado por Stack, Fevereiro 11, 2025.

  1. Stack

    Stack Membro Participativo

    I want to build my python package and distribute it. For more users can easily install my package, I want the list of the dependencies in pyproject.toml to be minimum while sufficient enough to run all the functionalities of my package. How to find such list of dependencies for my package?

    Also, I'm considering using pyproject.toml instead of setup.py

    I've tried pipreq but the list it generated was not sufficient to install my package in new environment. ChatGPT recommended me using pipdeptree but I found it not that relevent for my purpose.

    Continue reading...

Compartilhe esta Página