Skip to content

Commit 3cdac23

Browse files
committed
fix: Switch to pyproject.toml based builds
1 parent c0fa420 commit 3cdac23

File tree

2 files changed

+53
-69
lines changed

2 files changed

+53
-69
lines changed

pyproject.toml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[project]
2+
name = "functions-framework"
3+
version = "3.8.2"
4+
description = "An open source FaaS (Function as a service) framework for writing portable Python functions -- brought to you by the Google Cloud Functions team."
5+
readme = "README.md"
6+
requires-python = ">=3.5, <4"
7+
license = "Apache-2.0"
8+
authors = [
9+
{ name = "Google LLC", email = "[email protected]" }
10+
]
11+
maintainers = [
12+
{ name = "Google LLC", email = "[email protected]" }
13+
]
14+
keywords = ["functions-framework"]
15+
classifiers = [
16+
"Development Status :: 5 - Production/Stable",
17+
"Intended Audience :: Developers",
18+
"Programming Language :: Python :: 3.9",
19+
"Programming Language :: Python :: 3.10",
20+
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
22+
]
23+
dependencies = [
24+
"flask>=2.0,<4.0",
25+
"click>=7.0,<9.0",
26+
"watchdog>=1.0.0",
27+
"gunicorn>=22.0.0; platform_system!='Windows'",
28+
"cloudevents>=1.2.0,<2.0.0",
29+
"Werkzeug>=0.14,<4.0.0",
30+
]
31+
32+
[project.urls]
33+
Homepage = "https://github.com/googlecloudplatform/functions-framework-python"
34+
35+
[project.scripts]
36+
ff = "functions_framework._cli:_cli"
37+
functions-framework = "functions_framework._cli:_cli"
38+
functions_framework = "functions_framework._cli:_cli"
39+
functions-framework-python = "functions_framework._cli:_cli"
40+
functions_framework_python = "functions_framework._cli:_cli"
41+
42+
[build-system]
43+
requires = ["setuptools>=61.0.0"]
44+
build-backend = "setuptools.build_meta"
45+
46+
[tool.setuptools.packages.find]
47+
where = ["src"]
48+
49+
[tool.setuptools.package-data]
50+
functions_framework = ["py.typed"]
51+
52+
[tool.setuptools.package-dir]
53+
"" = "src"

setup.py

-69
This file was deleted.

0 commit comments

Comments
 (0)