almutareb / InnovationPathfinderAI

GenAI Research Assistant for Innovation Labs
1 stars 2 forks source link

Add poetry for dependency management #65

Open almutareb opened 7 months ago

almutareb commented 7 months ago

Poetry enhances the Python development workflow by offering a cohesive, user-friendly solution for dependency management, packaging, and environment management. It addresses several challenges and limitations associated with traditional tools like pip and virtualenv.

  1. Install poetry
  2. Initialize Poetry: "poetry add $(cat requirements.txt)" or "poetry init" for manual process
  3. Specify Dependencies: "poetry add ..." | for development dependencies: "poetry add --dev pytest ..."
  4. Verify installation: "poetry show"
  5. Migrate Scripts and Entry Points: specify them in the pyproject.toml file under [tool.poetry.scripts]