File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ include README.rst
22include COPYING.rst
33include LICENSE
44include setupbase.py
5+ include _build_meta.py
56include MANIFEST.in
67include py.typed
78include .mailmap
Original file line number Diff line number Diff line change 1+ # See https://setuptools.pypa.io/en/latest/build_meta.html#dynamic-build-dependencies-and-other-build-meta-tweaks
2+ from setuptools .build_meta import *
Original file line number Diff line number Diff line change 11[build-system ]
22requires = [" setuptools >= 51.0.0" ]
3- build-backend = " setuptools.build_meta"
3+ # We need access to the 'setupbase' module at build time.
4+ # Hence we declare a custom build backend.
5+ build-backend = " _build_meta" # just re-exports setuptools.build_meta definitions
6+ backend-path = [" ." ]
47
58[tool .mypy ]
69python_version = " 3.10"
Original file line number Diff line number Diff line change 6666from setuptools import setup
6767
6868# Our own imports
69- sys .path .insert (0 , "." )
7069
7170from setupbase import target_update , find_entry_points
7271
You can’t perform that action at this time.
0 commit comments