Skip to content

Commit ddcfbcf

Browse files
committed
setup: Move setuptools requirment to pyproject.toml
PEP 517 specify a new format for build systems and PEP 518 specify how we should require packages for our build system. Setuptools support PEP 517 so we should use it that way.
1 parent b203e4b commit ddcfbcf

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
15
[tool.black]
26
line-length = 120
37

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def build_extension(self, ext):
108108
author="Frida Developers",
109109
author_email="oleavr@frida.re",
110110
url="https://frida.re",
111-
install_requires=["setuptools", "typing_extensions; python_version<'3.11'"],
111+
install_requires=["typing_extensions; python_version<'3.11'"],
112112
python_requires=">=3.7",
113113
license="wxWindows Library Licence, Version 3.1",
114114
keywords="frida debugger dynamic instrumentation inject javascript windows macos linux ios iphone ipad android qnx",

0 commit comments

Comments
 (0)