File: mypyc

package info (click to toggle)
python-tomli 2.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,208 kB
  • sloc: python: 1,129; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Michael R. Crusoe <crusoe@debian.org>
Subject: Switch build backend to make mypyc binaries
Forwarded: not-needed

Inspired by running `python3 scripts/use_setuptools.py`
--- python-tomli.orig/pyproject.toml
+++ python-tomli/pyproject.toml
@@ -1,6 +1,9 @@
 [build-system]
-requires = ["flit_core>=3.2.0,<4"]
-build-backend = "flit_core.buildapi"
+requires = [
+    "setuptools>=69",
+    "mypy[mypyc]>=1.13",
+]
+build-backend = "setuptools.build_meta"
 
 [project]
 name = "tomli"