Replies: 1 comment
|
For ordinary Python libraries, give each library its own For example, with sibling directories # app/pyproject.toml — alongside the rest of its package metadata
[tool.poetry.dependencies]
python = "^3.12"
my-api = { path = "../my-api", develop = true }
# my-api/pyproject.toml — a separate file
[tool.poetry.dependencies]
python = "^3.12"
my-core = { path = "../my-core", develop = true }Running For the Maven comparison, the distinction is what you mean by “build”: One release caveat: with these path-only declarations, the app's wheel contained a I checked an References: path dependencies and AI-assisted; the three-package install, imports, build and wheel metadata were checked locally. |
Uh oh!
There was an error while loading. Please reload this page.
I understand Poetry can be used for dependency management of a single project. But what if I am developing a main application that depends on other first-party libraries that are also owned by me? To build the main application I need to first build the first-party dependencies in a specific order. In Java, Maven does this for me. Is there anything like that in Python?
All reactions