Skip to content

Commit f5a057a

Browse files
committed
feat: add testpypi as an index
1 parent 9ec1b64 commit f5a057a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ docs = [
5050
Homepage = "https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}"
5151
Repository = "https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}"
5252

53+
[[tool.uv.index]]
54+
name = "testpypi"
55+
url = "https://test.pypi.org/simple/"
56+
publish-url = "https://test.pypi.org/legacy/"
57+
explicit = true
58+
5359
{% if cookiecutter.add_rust_extension == 'y' -%}
5460
[build-system]
5561
requires = ["maturin>=1.3.0,<2.0"]

0 commit comments

Comments
 (0)