Skip to content

Commit d10051f

Browse files
committed
setuptools should work again
1 parent ed32bf0 commit d10051f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[tool.poetry]
1+
[project]
22
name = "generative-ai-with-langchain"
33
version = "0.1.0"
44
description = "Build large language model (LLM) apps with Python, ChatGPT and other models.."
@@ -8,11 +8,16 @@ authors = [
88
readme = "README.md"
99
repository = "https://github.com/benman1/generative_ai_with_langchain"
1010
keywords = ["llms", "langchain", "ai", "chatgpt", "gpt", "openai", "huggingface", "claude3", "claude", "gemini"]
11+
dynamic = ["dependencies"]
1112

1213
[pylint.FORMAT]
1314
max-line-length = 120
1415

16+
[tool.setuptools.dynamic]
17+
dependencies = { file = ["requirements.txt"] }
18+
1519
[tool.poetry.dependencies]
20+
# poetry doesn't seem to support dynamic dependencies - we have to keep this in sync with requirements.txt...
1621
python = "^3.11"
1722
accelerate = "0.33.0"
1823
apify-client = "1.6.4"

0 commit comments

Comments
 (0)