-
-
Save Omegastick/713164402b450b16b35c84f425db0a29 to your computer and use it in GitHub Desktop.
Poetry config demonstrating inconsistent behaviour between poetry install and pip install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.poetry] | |
name = "package-a" | |
version = "0.1.0" | |
description = "" | |
authors = ["Omegastick <isaac@poulton.dev>"] | |
readme = "README.md" | |
packages = [{include = "package_a"}] | |
[tool.poetry.dependencies] | |
python = "^3.9" | |
package-b = [ | |
{version = "^0.1.0", markers = "extra == 'internal'", optional = true}, | |
{path = "../package_b", develop = true, markers = "extra == 'local'", optional = true}, | |
] | |
[tool.poetry.extras] | |
internal = ["package-b"] | |
local = ["package-b"] | |
[build-system] | |
requires = ["poetry-core"] | |
build-backend = "poetry.core.masonry.api" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment