1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] How to reference the spaCy pipeline in pyproject.toml file?

Discussão em 'Python' iniciado por Stack, Setembro 18, 2025.

  1. Stack

    Stack Membro Participativo

    I am creating a pyproject.toml file for a package (using setuptools 69.2.0) that uses the spaCy library. My goal is to have the spaCy pipeline download as part of the "pip install [package]" process. My issue is the pipeline is not a dependency, but rather installed with "python -m spacy download en_core_web_sm". What is the correct way to call the download in the pyproject.toml file?

    spaCy installed correctly (editable package install locally) by including it as a dependency in the .toml file, but the pipeline needs to be downloaded for it to work and I cannot determine how to correctly include it in the .toml file.

    Continue reading...

Compartilhe esta Página