Show More
@@ -0,0 +1,2 b'' | |||||
|
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 * |
@@ -2,6 +2,7 b' include README.rst' | |||||
2 | include COPYING.rst |
|
2 | include COPYING.rst | |
3 | include LICENSE |
|
3 | include LICENSE | |
4 | include setupbase.py |
|
4 | include setupbase.py | |
|
5 | include _build_meta.py | |||
5 | include MANIFEST.in |
|
6 | include MANIFEST.in | |
6 | include py.typed |
|
7 | include py.typed | |
7 | include .mailmap |
|
8 | include .mailmap |
@@ -1,6 +1,9 b'' | |||||
1 | [build-system] |
|
1 | [build-system] | |
2 | requires = ["setuptools >= 51.0.0"] |
|
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 | [tool.mypy] |
|
8 | [tool.mypy] | |
6 | python_version = "3.10" |
|
9 | python_version = "3.10" |
@@ -66,7 +66,6 b' Python {py} detected.' | |||||
66 | from setuptools import setup |
|
66 | from setuptools import setup | |
67 |
|
67 | |||
68 | # Our own imports |
|
68 | # Our own imports | |
69 | sys.path.insert(0, ".") |
|
|||
70 |
|
69 | |||
71 | from setupbase import target_update, find_entry_points |
|
70 | from setupbase import target_update, find_entry_points | |
72 |
|
71 |
General Comments 0
You need to be logged in to leave comments.
Login now