Skip to content

Commit d41666f

Browse files
committed
Modernize packaging, move to uv
1 parent 56102ff commit d41666f

File tree

5 files changed

+1037
-78
lines changed

5 files changed

+1037
-78
lines changed

pyproject.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
[project]
2+
name = "openfga-sdk"
3+
version = "0.9.4"
4+
description="A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar."
5+
authors = [
6+
{ name = "OpenFGA (https://openfga.dev)", email = "community@openfga.dev"}
7+
]
8+
readme = "README.md"
9+
classifiers=[
10+
"Development Status :: 5 - Production/Stable",
11+
"Intended Audience :: Developers",
12+
"License :: OSI Approved :: Apache Software License",
13+
"Programming Language :: Python :: 3.10",
14+
"Programming Language :: Python :: 3.11",
15+
"Programming Language :: Python :: 3.12",
16+
]
17+
keywords=[
18+
"openfga",
19+
"authorization",
20+
"fga",
21+
"fine-grained-authorization",
22+
"rebac",
23+
"zanzibar",
24+
]
25+
requires-python=">=3.10"
26+
license="Apache-2.0"
27+
dependencies = [
28+
"aiohttp>=3.9.3",
29+
"python-dateutil>=2.9.0",
30+
"opentelemetry-api>=1.25.0",
31+
"urllib3>=1.26.19,<3"
32+
]
33+
34+
[project.urls]
35+
Repository="https://github.com/openfga/python-sdk.git"
36+
37+
[dependency-groups]
38+
dev = [
39+
"griffe>=0.41.2",
40+
"mock>=5.1.0",
41+
"pytest-asyncio>=0.25",
42+
"pytest-cov>=5",
43+
"ruff>=0.9",
44+
"mypy>=1.14.1",
45+
]
46+
47+
[build-system]
48+
requires = ["hatchling"]
49+
build-backend = "hatchling.build"
50+
151
[tool.ruff]
252
exclude = [
353
".bzr",

requirements.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 64 deletions
This file was deleted.

test-requirements.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)