[Python] How to organize and package first-party dependencies of a large-scale project in...

Discussão em 'Python' iniciado por Stack, Julho 21, 2025.

  1. Stack

    Stack Membro Participativo

    I am a Java developer. In Java I use Maven as build tool with a parent pom.xml that defines all the modules necessary to build the main application. I have written projects with 24+ modules all packaged in a single Maven project and part of single code repository.

    I am now working on a Python project and using poetry as a build tool. All my dependencies are internal dependencies and none will be published to pypi.

    Question:


    1. What is the pattern to use here? I cannot find examples of a poetry project consisting of multiple modules.


    2. do i create separate project for each module? it explodes the # of code repositories etc.

    and does not address the biggest advantage of Maven: in Maven when I build the parent pom.xml it figures out all the dependencies (modules) and in what order to build them for the main application.

    Continue reading...

Compartilhe esta Página