Skip to content

Commit a018c17

Browse files
authored
chore: add support for uv (#1609)
1 parent 28e0c76 commit a018c17

File tree

3 files changed

+1750
-0
lines changed

3 files changed

+1750
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,8 @@ select = ["E", "F", "I", "Q", "W"]
9595
[tool.ruff.lint.isort]
9696
lines-after-imports = 2
9797
known-first-party = ["oauth2_provider"]
98+
99+
[tool.uv.workspace]
100+
members = [
101+
"tests/app/idp",
102+
]

tests/app/idp/pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[project]
2+
name = "idp"
3+
version = "0.1.0"
4+
description = "Django OAuth Toolkit Identity Provider Test App"
5+
readme = "README.md"
6+
requires-python = ">=3.8,<=3.14"
7+
dependencies = [
8+
"Django>=4.2,<=5.2",
9+
"django-cors-headers==3.14.0",
10+
"django-environ==0.11.2",
11+
"django-oauth-toolkit",
12+
]
13+
14+
15+
[tool.setuptools]
16+
# we're not packaging this as a module, so tell setup tools not to do anything.
17+
py-modules = []
18+
19+
[tool.uv.sources]
20+
# connect to the django-oauth-toolkit package in the parent workspace
21+
# so changes to it are reflected here without reinstalling.
22+
django-oauth-toolkit = { editable = true, workspace = true }

0 commit comments

Comments
 (0)