Skip to content

Instantly share code, notes, and snippets.

@pierresouchay
Last active January 28, 2022 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pierresouchay/60f3e8b9e20ee0d23f0e4604c7a73019 to your computer and use it in GitHub Desktop.
Save pierresouchay/60f3e8b9e20ee0d23f0e4604c7a73019 to your computer and use it in GitHub Desktop.
[tool.poetry]
name = "multi-sources"
version = "0.1.0"
description = "Multi-Sources test"
authors = ["Your Name <you@example.com>"]
license = "MIT"
[[tool.poetry.source]]
name = "my-source"
# We use pypi.org for the sake of example, but does not work with gitlab private repo neither
url = "https://pypi.org/simple/"
secondary = true
[tool.poetry.dependencies]
python = "^3.9"
# This one should come only from "my-source"
requests = { version = "^2.27.1" }
changelog = {version = "^0.5.7", source = "my-source"}
[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