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
2
2
include COPYING.rst
3
3
include LICENSE
4
4
include setupbase.py
5
+ include _build_meta.py
5
6
include MANIFEST.in
6
7
include py.typed
7
8
include .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 1
1
[build-system ]
2
2
requires = [" 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 = [" ." ]
4
7
5
8
[tool .mypy ]
6
9
python_version = " 3.10"
Original file line number Diff line number Diff line change 66
66
from setuptools import setup
67
67
68
68
# Our own imports
69
- sys .path .insert (0 , "." )
70
69
71
70
from setupbase import target_update , find_entry_points
72
71
You can’t perform that action at this time.
0 commit comments