Skip to content

Instantly share code, notes, and snippets.

@zyzzyxdonta
Created May 31, 2022 14:12
Show Gist options
  • Save zyzzyxdonta/406e9b680d589ddfb87bcb7f6bdba397 to your computer and use it in GitHub Desktop.
Save zyzzyxdonta/406e9b680d589ddfb87bcb7f6bdba397 to your computer and use it in GitHub Desktop.
[tool.poetry]
name = "poetry-test"
version = "0.1.0"
description = ""
authors = ["me"]
[tool.poetry.dependencies]
python = "^3.10"
celery = [
{ version = "^5.2.6" },
#{ version = "^5.2.6", markers = "extra == ''" },
#{ version = "^5.2.6", markers = "extra != 'redis'" },
#{ version = "^5.2.6", extras = ["redis"], optional = true, markers = "extra == 'redis'" },
{ version = "^5.2.6", extras = ["redis"], markers = "extra == 'redis'" },
]
[tool.poetry.extras]
redis = ["celery"]
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment