[PR #3] [MERGED] use poetry #35794

Closed
opened 2026-04-22 20:32:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3
Author: @mxyng
Created: 6/27/2023
Status: Merged
Merged: 6/28/2023
Merged by: @BruceMacD

Base: mainHead: poetry


📝 Commits (1)

📊 Changes

7 files changed (+1363 additions, -22 deletions)

View changed files

ollama.py (+0 -3)
ollama/__main__.py (+4 -0)
📝 ollama/cmd/cli.py (+13 -7)
📝 ollama/engine.py (+0 -7)
poetry.lock (+873 -0)
pyproject.toml (+35 -0)
📝 requirements.txt (+438 -5)

📄 Description

requirements.txt updated with poetry export

install ollama into the poetry virtualenv:
poetry install && ollama list

use ollama as a python module script:
poetry run python -m ollama list

binary artifacts can be build and archived:
poetry build && ls -al dist/


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/3 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 6/27/2023 **Status:** ✅ Merged **Merged:** 6/28/2023 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `poetry` --- ### 📝 Commits (1) - [`7737ec0`](https://github.com/ollama/ollama/commit/7737ec07750c8c182966bc8df8f9bbe39958013c) use poetry ### 📊 Changes **7 files changed** (+1363 additions, -22 deletions) <details> <summary>View changed files</summary> ➖ `ollama.py` (+0 -3) ➕ `ollama/__main__.py` (+4 -0) 📝 `ollama/cmd/cli.py` (+13 -7) 📝 `ollama/engine.py` (+0 -7) ➕ `poetry.lock` (+873 -0) ➕ `pyproject.toml` (+35 -0) 📝 `requirements.txt` (+438 -5) </details> ### 📄 Description `requirements.txt` updated with `poetry export` install ollama into the poetry virtualenv: `poetry install && ollama list` use ollama as a python module script: `poetry run python -m ollama list` binary artifacts can be build and archived: `poetry build && ls -al dist/` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 20:32:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#35794