8000 chore: Migrate from setup.py to pyproject.toml · firebase/firebase-admin-python@fa584ad · GitHub
[go: up one dir, main page]

Skip to content

Commit fa584ad

Browse files
committed
chore: Migrate from setup.py to pyproject.toml
1 parent b57af18 commit fa584ad

File tree

2 files changed

+45
-77
lines changed

2 files changed

+45
-77
lines changed

pyproject.toml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[build-system]
2+
requires = ['setuptools >= 77.0.3']
3+
build-backend = 'setuptools.build_meta'
4+
5+
[project]
6+
name = 'firebase_admin'
7+
dynamic = ['version']
8+
description = 'Firebase Admin Python SDK'
9+
readme = 'README.md'
10+
requires-python = '>=3.9'
11+
license = 'Apache-2.0'
12+
keywords = ['firebase', 'cloud', 'development']
13+
authors = [ { name = 'Firebase' }]
14+
classifiers = [
15+
'Development Status :: 5 - Production/Stable',
16+
'Intended Audience :: Developers',
17+
'Topic :: Software Development :: Build Tools',
18+
'Programming Language :: Python :: 3',
19+
'Programming Language :: Python :: 3 :: Only',
20+
'Programming Language :: Python :: 3.9',
21+
'Programming Language :: Python :: 3.10',
22+
'Programming Language :: Python :: 3.11',
23+
'Programming Language :: Python :: 3.12',
24+
'Programming Language :: Python :: 3.13',
25+
]
26+
27+
dependencies = [
28+
'cachecontrol>=0.12.14',
29+
'google-api-core[grpc] >= 1.22.1, < 3.0.0dev; platform.python_implementation != "PyPy"',
30+
'google-cloud-firestore>=2.19.0; platform.python_implementation != "PyPy"',
31+
'google-cloud-storage>=1.37.1',
32+
'pyjwt[crypto] >= 2.5.0',
33+
'httpx[http2] == 0.28.1',
34+
]
35+
36+
[project.urls]
37+
'Homepage' = 'https://firebase.google.com/docs/admin/setup/'
38+
'Release Notes' = 'https://firebase.google.com/support/release-notes/admin/python'
39+
'Source' = 'https://github.com/firebase/firebase-admin-python'
40+
41+
[tool.setuptools]
42+
packages = ['firebase_admin']
43+
44+
[tool.setuptools.dynamic]
45+
version = { attr = 'firebase_admin.__about__.__version__' }

setup.py

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

0 commit comments

Comments
 (0)
0