Skip to content

Commit 46e1250

Browse files
Use uv as project manager
1 parent fdc3b80 commit 46e1250

4 files changed

Lines changed: 601 additions & 5 deletions

File tree

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11

pyproject.toml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
[build-system]
2-
requires = ["setuptools"]
3-
build-backend = "setuptools.build_meta"
4-
51
[project]
62
name = "simple-justwatch-python-api"
73
authors = [{name = "Electronic Mango", email = "78230210+Electronic-Mango@users.noreply.github.com"}]
84
version = "0.16"
95
description="A simple JustWatch Python API"
106
readme = "README.md"
117
license = {file = "LICENSE"}
12-
dependencies = ["httpx"]
138
requires-python = ">= 3.11"
149
keywords = ["justwatch", "api", "graphql"]
1510
classifiers = [
@@ -19,12 +14,30 @@ classifiers = [
1914
"Programming Language :: Python :: 3",
2015
"Programming Language :: Python :: 3.11",
2116
]
17+
dependencies = [
18+
"httpx>=0.28.1",
19+
]
20+
21+
[dependency-groups]
22+
dev = [
23+
"pytest>=9.0.2",
24+
"pytest-mock>=3.15.1",
25+
"sphinx>=9.0.4",
26+
"sphinx-rtd-theme>=3.1.0",
27+
]
2228

2329
[project.urls]
2430
Homepage = "https://github.com/Electronic-Mango/simple-justwatch-python-api"
2531
Documentation = "https://electronic-mango.github.io/simple-justwatch-python-api"
2632
Repository = "https://github.com/Electronic-Mango/simple-justwatch-python-api"
2733

34+
[build-system]
35+
requires = ["uv_build>=0.11.2,<0.12"]
36+
build-backend = "uv_build"
37+
38+
[tool.uv.build-backend]
39+
module-name = "simplejustwatchapi"
40+
2841
[tool.pytest.ini_options]
2942
pythonpath = [
3043
"src", "test"

requirements.txt

-276 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)