There was an error while loading. Please reload this page.
1 parent e3ac637 commit f85211aCopy full SHA for f85211a
1 file changed
tests/utils/plugins_cli.py
@@ -63,6 +63,17 @@ def build(self) -> None:
63
}
64
65
self.path.mkdir(parents=True, exist_ok=True)
66
+ with open(self.path / 'pyproject.toml', 'w') as stream:
67
+ stream.write(textwrap.dedent('''
68
+ [build-system]
69
+ requires = [
70
+ "setuptools<80; python_version<'3.10'",
71
+ "setuptools; python_version>='3.10'",
72
+ "wheel",
73
+ ]
74
+ build-backend = "setuptools.build_meta"
75
+ '''))
76
+
77
with open(self.path / 'setup.py', 'w') as stream:
78
stream.write(textwrap.dedent(f'''
79
from setuptools import setup
0 commit comments