File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,21 @@ license-files = [] # kludge until this bug is fixed https://github.com/pypa/setu
3939[tool.uv]
4040package = true
4141
42- [[tool.uv.index]]
42+ {% endraw %}{% if python_package_registry == "PyPI" %}{% raw %} [[tool.uv.index]]
4343name = "pypi"
4444url = "https://pypi.org/simple/"
4545publish-url = "https://upload.pypi.org/legacy/"
4646
4747[[tool.uv.index]]
4848name = "testpypi"
4949url = "https://test.pypi.org/simple/"
50- publish-url = "https://test.pypi.org/legacy/"{% endraw %}
50+ publish-url = "https://test.pypi.org/legacy/"{% endraw %}{% else %}{% raw %}
51+
52+ [[tool.uv.index]]
53+ name = "code-artifact-primary"
54+ url = "https://{% endraw %} {{ repo_org_name }}{% raw %} -{% endraw %} {{ aws_central_infrastructure_account_id }}{% raw %} .d.codeartifact.{% endraw %} {{ aws_org_home_region }}{% raw %} .amazonaws.com/pypi/{% endraw %} {{ repo_org_name }}{% raw %} -primary/simple/"
55+
56+ [[tool.uv.index]]
57+ name = "code-artifact-staging"
58+ url = "https://{% endraw %} {{ repo_org_name }}{% raw %} -{% endraw %} {{ aws_central_infrastructure_account_id }}{% raw %} .d.codeartifact.{% endraw %} {{ aws_org_home_region }}{% raw %} .amazonaws.com/pypi/{% endraw %} {{ repo_org_name }}{% raw %} -staging/simple/"
59+ {% endraw %}{% endif %}
You can’t perform that action at this time.
0 commit comments