meson-python 0.13.0.pre0__tar.gz → 0.13.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/.cirrus.yml +4 -15
  2. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/.github/workflows/docs.yml +6 -2
  3. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/.github/workflows/tests.yml +58 -19
  4. meson_python-0.13.1/.gitignore +11 -0
  5. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/.pre-commit-config.yaml +15 -2
  6. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/.readthedocs.yml +4 -0
  7. meson_python-0.13.1/CHANGELOG.rst +253 -0
  8. meson_python-0.13.1/LICENSES/MIT.txt +21 -0
  9. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/PKG-INFO +29 -32
  10. meson_python-0.13.1/README.rst +24 -0
  11. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/ci/alpine-3.docker +4 -0
  12. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/ci/archlinux.docker +4 -0
  13. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/ci/debian-11.docker +4 -0
  14. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/ci/debian-unstable.docker +4 -0
  15. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/ci/fedora-37.docker +4 -0
  16. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/ci/manylinux.docker +4 -0
  17. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/ci/miniconda.docker +4 -0
  18. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/ci/opensuse-15.docker +4 -0
  19. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/codecov.yml +4 -0
  20. meson_python-0.13.1/docs/changelog.rst +253 -0
  21. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/docs/conf.py +40 -2
  22. meson_python-0.13.1/docs/contributing/commit-format.rst +18 -0
  23. meson_python-0.13.1/docs/contributing/documentation.rst +36 -0
  24. meson_python-0.13.1/docs/contributing/getting-started.rst +15 -0
  25. meson_python-0.13.1/docs/contributing/release-process.rst +74 -0
  26. meson_python-0.13.1/docs/contributing/test-suite.rst +16 -0
  27. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/docs/examples/spam/meson.build +6 -1
  28. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/docs/examples/spam/pyproject.toml +4 -0
  29. meson_python-0.13.1/docs/examples/spam/src/__init__.py +5 -0
  30. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/docs/examples/spam/src/spammodule.c +4 -0
  31. meson_python-0.13.1/docs/explanations/default-options.rst +95 -0
  32. meson_python-0.13.1/docs/explanations/design-old.rst +86 -0
  33. meson_python-0.13.1/docs/explanations/design.rst +25 -0
  34. meson_python-0.13.1/docs/explanations/editable-installs.rst +19 -0
  35. meson_python-0.13.1/docs/explanations/internal-dependencies.rst +17 -0
  36. meson_python-0.13.1/docs/how-to-guides/add-dependencies.rst +17 -0
  37. meson_python-0.13.1/docs/how-to-guides/build-directory.rst +19 -0
  38. meson_python-0.13.1/docs/how-to-guides/config-settings.rst +69 -0
  39. meson_python-0.13.1/docs/how-to-guides/editable-installs.rst +126 -0
  40. meson_python-0.13.1/docs/how-to-guides/executable-with-internal-dependencies.rst +24 -0
  41. meson_python-0.13.1/docs/how-to-guides/first-project.rst +91 -0
  42. meson_python-0.13.1/docs/how-to-guides/meson-args.rst +209 -0
  43. meson_python-0.13.1/docs/index.rst +179 -0
  44. meson_python-0.13.1/docs/projects-using-meson-python.rst +39 -0
  45. meson_python-0.13.1/docs/reference/config-settings.rst +49 -0
  46. meson_python-0.13.1/docs/reference/environment-variables.rst +82 -0
  47. meson_python-0.13.1/docs/reference/limitations.rst +76 -0
  48. meson_python-0.13.1/docs/reference/pyproject-settings.rst +30 -0
  49. meson_python-0.13.1/docs/reference/quirks.rst +33 -0
  50. meson_python-0.13.1/docs/security.rst +36 -0
  51. meson_python-0.13.1/docs/spelling_wordlist.txt +29 -0
  52. meson_python-0.13.1/docs/spelling_wordlist.txt.license +3 -0
  53. meson_python-0.13.1/docs/static/css/contributors.css +25 -0
  54. meson_python-0.13.1/docs/tutorials/data.rst +20 -0
  55. meson_python-0.13.1/docs/tutorials/entrypoints.rst +17 -0
  56. meson_python-0.13.1/docs/tutorials/executable.rst +21 -0
  57. meson_python-0.13.1/docs/tutorials/introduction.rst +349 -0
  58. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/meson.build +6 -2
  59. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/mesonpy/__init__.py +377 -507
  60. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/mesonpy/_compat.py +5 -11
  61. meson_python-0.13.1/mesonpy/_dylib.py +55 -0
  62. meson_python-0.13.1/mesonpy/_editable.py +318 -0
  63. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/mesonpy/_elf.py +4 -2
  64. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/mesonpy/_tags.py +4 -2
  65. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/mesonpy/_util.py +10 -11
  66. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/mesonpy/_wheelfile.py +2 -0
  67. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/noxfile.py +7 -1
  68. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/pyproject.toml +27 -15
  69. meson_python-0.13.1/tests/__init__.py +3 -0
  70. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/conftest.py +8 -4
  71. meson_python-0.13.1/tests/packages/complex/complex/__init__.py +3 -0
  72. meson_python-0.13.1/tests/packages/complex/complex/more/__init__.py +6 -0
  73. meson_python-0.13.1/tests/packages/complex/complex/namespace/bar.py +6 -0
  74. meson_python-0.13.1/tests/packages/complex/complex/namespace/foo.py +6 -0
  75. meson_python-0.13.1/tests/packages/complex/meson.build +15 -0
  76. meson_python-0.13.1/tests/packages/complex/pyproject.toml +7 -0
  77. meson_python-0.13.1/tests/packages/complex/test.pyx +6 -0
  78. meson_python-0.13.1/tests/packages/configure-data/configure_data.py.in +6 -0
  79. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/configure-data/meson.build +4 -0
  80. meson_python-0.13.1/tests/packages/configure-data/pyproject.toml +7 -0
  81. meson_python-0.13.1/tests/packages/detect-compiler/detect_compiler.c +38 -0
  82. meson_python-0.13.1/tests/packages/detect-compiler/meson.build +13 -0
  83. meson_python-0.13.1/tests/packages/detect-compiler/pyproject.toml +7 -0
  84. meson_python-0.13.1/tests/packages/dist-script/meson.build +10 -0
  85. meson_python-0.13.1/tests/packages/dist-script/pyproject.toml +7 -0
  86. meson_python-0.13.1/tests/packages/dynamic-version/meson.build +8 -0
  87. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/dynamic-version/pyproject.toml +4 -0
  88. meson_python-0.13.1/tests/packages/executable/example.c +9 -0
  89. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/executable/meson.build +4 -0
  90. meson_python-0.13.1/tests/packages/executable/pyproject.toml +7 -0
  91. meson_python-0.13.1/tests/packages/executable-bit/example-script.py +7 -0
  92. meson_python-0.13.1/tests/packages/executable-bit/example.c +9 -0
  93. meson_python-0.13.1/tests/packages/executable-bit/executable_module.py +10 -0
  94. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/executable-bit/meson.build +4 -0
  95. meson_python-0.13.1/tests/packages/executable-bit/pyproject.toml +7 -0
  96. meson_python-0.13.1/tests/packages/full-metadata/README.md +9 -0
  97. meson_python-0.13.1/tests/packages/full-metadata/meson.build +8 -0
  98. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/full-metadata/pyproject.toml +4 -0
  99. meson_python-0.13.1/tests/packages/generated-files/example-script.py +7 -0
  100. meson_python-0.13.1/tests/packages/generated-files/example.c +9 -0
  101. meson_python-0.13.1/tests/packages/generated-files/executable_module.py +10 -0
  102. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/generated-files/generate_version.py +4 -0
  103. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/generated-files/meson.build +4 -0
  104. meson_python-0.13.1/tests/packages/generated-files/pyproject.toml +7 -0
  105. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/imports-itself-during-build/meson.build +4 -0
  106. {meson_python-0.13.0.pre0/tests/packages/purelib-and-platlib → meson_python-0.13.1/tests/packages/imports-itself-during-build}/plat.c +7 -3
  107. meson_python-0.13.1/tests/packages/imports-itself-during-build/pure.py +6 -0
  108. meson_python-0.13.1/tests/packages/imports-itself-during-build/pyproject.toml +7 -0
  109. meson_python-0.13.1/tests/packages/library/example.c +11 -0
  110. meson_python-0.13.1/tests/packages/library/examplelib.c +7 -0
  111. meson_python-0.13.1/tests/packages/library/examplelib.h +5 -0
  112. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/library/meson.build +4 -0
  113. meson_python-0.13.1/tests/packages/library/pyproject.toml +7 -0
  114. meson_python-0.13.1/tests/packages/library-pep621/example.c +11 -0
  115. meson_python-0.13.1/tests/packages/library-pep621/examplelib.c +7 -0
  116. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/library-pep621/meson.build +4 -0
  117. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/library-pep621/pyproject.toml +4 -0
  118. meson_python-0.13.1/tests/packages/license-file/meson.build +8 -0
  119. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/license-file/pyproject.toml +4 -0
  120. meson_python-0.13.1/tests/packages/link-against-local-lib/examplelib.c +7 -0
  121. meson_python-0.13.1/tests/packages/link-against-local-lib/examplelib.h +5 -0
  122. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/link-against-local-lib/examplemod.c +4 -0
  123. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/link-against-local-lib/meson.build +4 -0
  124. meson_python-0.13.1/tests/packages/link-against-local-lib/pyproject.toml +7 -0
  125. meson_python-0.13.1/tests/packages/module-types/file.py +3 -0
  126. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/module-types/meson.build +4 -0
  127. meson_python-0.13.1/tests/packages/module-types/namespace/data.py +3 -0
  128. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/module-types/native.c +4 -0
  129. meson_python-0.13.1/tests/packages/module-types/package/__init__.py +3 -0
  130. meson_python-0.13.1/tests/packages/module-types/pyproject.toml +7 -0
  131. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/pure/meson.build +4 -0
  132. meson_python-0.13.1/tests/packages/pure/pure.py +6 -0
  133. meson_python-0.13.1/tests/packages/pure/pyproject.toml +7 -0
  134. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/purelib-and-platlib/meson.build +4 -0
  135. {meson_python-0.13.0.pre0/tests/packages/imports-itself-during-build → meson_python-0.13.1/tests/packages/purelib-and-platlib}/plat.c +4 -0
  136. meson_python-0.13.1/tests/packages/purelib-and-platlib/pure.py +6 -0
  137. meson_python-0.13.1/tests/packages/purelib-and-platlib/pyproject.toml +7 -0
  138. meson_python-0.13.1/tests/packages/purelib-platlib-split/meson.build +21 -0
  139. meson_python-0.13.1/tests/packages/purelib-platlib-split/plat.py +6 -0
  140. meson_python-0.13.1/tests/packages/purelib-platlib-split/pure.py +6 -0
  141. meson_python-0.13.1/tests/packages/purelib-platlib-split/pyproject.toml +7 -0
  142. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/scipy-like/meson.build +4 -0
  143. meson_python-0.13.1/tests/packages/scipy-like/mypkg/__init__.py +6 -0
  144. meson_python-0.13.1/tests/packages/scipy-like/mypkg/cy_extmod.pyx +9 -0
  145. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/scipy-like/mypkg/extmod.c +4 -0
  146. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/scipy-like/mypkg/meson.build +4 -0
  147. meson_python-0.13.1/tests/packages/scipy-like/mypkg/submod/__init__.py +3 -0
  148. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/scipy-like/mypkg/submod/unknown_filetype.npq +4 -0
  149. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/scipy-like/pyproject.toml +4 -0
  150. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/scipy-like/tools/generate_config.py +4 -0
  151. meson_python-0.13.1/tests/packages/simple/__init__.py +5 -0
  152. meson_python-0.13.1/tests/packages/simple/data.txt +1 -0
  153. meson_python-0.13.1/tests/packages/simple/data.txt.license +3 -0
  154. meson_python-0.13.1/tests/packages/simple/meson.build +13 -0
  155. meson_python-0.13.1/tests/packages/simple/pyproject.toml +7 -0
  156. meson_python-0.13.1/tests/packages/simple/test.py +10 -0
  157. meson_python-0.13.1/tests/packages/subdirs/meson.build +22 -0
  158. meson_python-0.13.1/tests/packages/subdirs/pyproject.toml +7 -0
  159. meson_python-0.13.1/tests/packages/subdirs/subdirs/__init__.py +3 -0
  160. meson_python-0.13.1/tests/packages/subdirs/subdirs/a/__init__.py +3 -0
  161. meson_python-0.13.1/tests/packages/subdirs/subdirs/a/b/c.py +3 -0
  162. meson_python-0.13.1/tests/packages/subdirs/subdirs/b/c.py +3 -0
  163. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/unknown-user-args-meson-args/pyproject.toml +4 -0
  164. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/unknown-user-args-top-level/pyproject.toml +4 -0
  165. meson_python-0.13.1/tests/packages/unsupported-dynamic/meson.build +5 -0
  166. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/unsupported-dynamic/pyproject.toml +4 -0
  167. meson_python-0.13.1/tests/packages/unsupported-python-version/meson.build +8 -0
  168. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/unsupported-python-version/pyproject.toml +4 -0
  169. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/user-args/meson.build +4 -0
  170. meson_python-0.13.1/tests/packages/user-args/pure.py +6 -0
  171. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/user-args/pyproject.toml +4 -0
  172. meson_python-0.13.1/tests/test_consistency.py +23 -0
  173. meson_python-0.13.1/tests/test_editable.py +192 -0
  174. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_examples.py +4 -0
  175. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_metadata.py +13 -5
  176. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_output.py +2 -0
  177. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_pep517.py +32 -4
  178. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_pep518.py +4 -0
  179. meson_python-0.13.1/tests/test_project.py +234 -0
  180. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_sdist.py +2 -0
  181. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_tags.py +5 -19
  182. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_wheel.py +32 -61
  183. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/test_wheelfile.py +4 -0
  184. meson_python-0.13.0.pre0/.gitignore +0 -7
  185. meson_python-0.13.0.pre0/CHANGELOG.rst +0 -143
  186. meson_python-0.13.0.pre0/README.md +0 -33
  187. meson_python-0.13.0.pre0/docs/changelog.rst +0 -143
  188. meson_python-0.13.0.pre0/docs/examples/spam/src/__init__.py +0 -1
  189. meson_python-0.13.0.pre0/docs/index.rst +0 -231
  190. meson_python-0.13.0.pre0/docs/usage/build-options.rst +0 -23
  191. meson_python-0.13.0.pre0/docs/usage/specific-behaviors.rst +0 -32
  192. meson_python-0.13.0.pre0/docs/usage/start.rst +0 -102
  193. meson_python-0.13.0.pre0/mesonpy/_editable.py +0 -180
  194. meson_python-0.13.0.pre0/mesonpy/_introspection.py +0 -71
  195. meson_python-0.13.0.pre0/tests/__init__.py +0 -0
  196. meson_python-0.13.0.pre0/tests/packages/configure-data/configure_data.py.in +0 -2
  197. meson_python-0.13.0.pre0/tests/packages/configure-data/pyproject.toml +0 -3
  198. meson_python-0.13.0.pre0/tests/packages/dist-script/meson.build +0 -6
  199. meson_python-0.13.0.pre0/tests/packages/dist-script/pyproject.toml +0 -3
  200. meson_python-0.13.0.pre0/tests/packages/dynamic-version/meson.build +0 -4
  201. meson_python-0.13.0.pre0/tests/packages/executable/example.c +0 -5
  202. meson_python-0.13.0.pre0/tests/packages/executable/pyproject.toml +0 -3
  203. meson_python-0.13.0.pre0/tests/packages/executable-bit/example-script.py +0 -3
  204. meson_python-0.13.0.pre0/tests/packages/executable-bit/example.c +0 -5
  205. meson_python-0.13.0.pre0/tests/packages/executable-bit/executable_module.py +0 -6
  206. meson_python-0.13.0.pre0/tests/packages/executable-bit/pyproject.toml +0 -3
  207. meson_python-0.13.0.pre0/tests/packages/full-metadata/README.md +0 -3
  208. meson_python-0.13.0.pre0/tests/packages/full-metadata/meson.build +0 -4
  209. meson_python-0.13.0.pre0/tests/packages/generated-files/example-script.py +0 -3
  210. meson_python-0.13.0.pre0/tests/packages/generated-files/example.c +0 -5
  211. meson_python-0.13.0.pre0/tests/packages/generated-files/executable_module.py +0 -6
  212. meson_python-0.13.0.pre0/tests/packages/generated-files/pyproject.toml +0 -3
  213. meson_python-0.13.0.pre0/tests/packages/imports-itself-during-build/pure.py +0 -2
  214. meson_python-0.13.0.pre0/tests/packages/imports-itself-during-build/pyproject.toml +0 -3
  215. meson_python-0.13.0.pre0/tests/packages/library/example.c +0 -7
  216. meson_python-0.13.0.pre0/tests/packages/library/examplelib.c +0 -3
  217. meson_python-0.13.0.pre0/tests/packages/library/examplelib.h +0 -1
  218. meson_python-0.13.0.pre0/tests/packages/library/pyproject.toml +0 -3
  219. meson_python-0.13.0.pre0/tests/packages/library-pep621/example.c +0 -7
  220. meson_python-0.13.0.pre0/tests/packages/library-pep621/examplelib.c +0 -3
  221. meson_python-0.13.0.pre0/tests/packages/license-file/meson.build +0 -4
  222. meson_python-0.13.0.pre0/tests/packages/link-against-local-lib/examplelib.c +0 -3
  223. meson_python-0.13.0.pre0/tests/packages/link-against-local-lib/examplelib.h +0 -1
  224. meson_python-0.13.0.pre0/tests/packages/link-against-local-lib/pyproject.toml +0 -3
  225. meson_python-0.13.0.pre0/tests/packages/module-types/file.py +0 -0
  226. meson_python-0.13.0.pre0/tests/packages/module-types/namespace/data.py +0 -0
  227. meson_python-0.13.0.pre0/tests/packages/module-types/package/__init__.py +0 -0
  228. meson_python-0.13.0.pre0/tests/packages/module-types/pyproject.toml +0 -3
  229. meson_python-0.13.0.pre0/tests/packages/pure/pure.py +0 -2
  230. meson_python-0.13.0.pre0/tests/packages/pure/pyproject.toml +0 -3
  231. meson_python-0.13.0.pre0/tests/packages/purelib-and-platlib/pure.py +0 -2
  232. meson_python-0.13.0.pre0/tests/packages/purelib-and-platlib/pyproject.toml +0 -3
  233. meson_python-0.13.0.pre0/tests/packages/scipy-like/mypkg/__init__.py +0 -2
  234. meson_python-0.13.0.pre0/tests/packages/scipy-like/mypkg/cy_extmod.pyx +0 -5
  235. meson_python-0.13.0.pre0/tests/packages/scipy-like/mypkg/submod/__init__.py +0 -0
  236. meson_python-0.13.0.pre0/tests/packages/subdirs/meson.build +0 -14
  237. meson_python-0.13.0.pre0/tests/packages/subdirs/pyproject.toml +0 -3
  238. meson_python-0.13.0.pre0/tests/packages/subdirs/subdirs/__init__.py +0 -0
  239. meson_python-0.13.0.pre0/tests/packages/subdirs/subdirs/a/__init__.py +0 -0
  240. meson_python-0.13.0.pre0/tests/packages/subdirs/subdirs/a/b/c.py +0 -0
  241. meson_python-0.13.0.pre0/tests/packages/subdirs/subdirs/b/c.py +0 -0
  242. meson_python-0.13.0.pre0/tests/packages/unsupported-python-version/meson.build +0 -4
  243. meson_python-0.13.0.pre0/tests/packages/user-args/pure.py +0 -2
  244. meson_python-0.13.0.pre0/tests/test_project.py +0 -97
  245. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/LICENSE +0 -0
  246. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/full-metadata/LICENSE +0 -0
  247. {meson_python-0.13.0.pre0 → meson_python-0.13.1}/tests/packages/license-file/something/LICENSE.custom +0 -0
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  test_template: &test
2
6
  test_script:
3
7
  - command -v python3
@@ -9,9 +13,6 @@ alpine-3_task:
9
13
  container:
10
14
  dockerfile: ci/alpine-3.docker
11
15
  cpu: 1
12
- fix-pyproject-metadata_script:
13
- # see https://github.com/FFY00/python-pyproject-metadata/pull/44
14
- - python3 -m pip install "pyproject-metadata < 0.7.0"
15
16
  << : *test
16
17
 
17
18
  archlinux_task:
@@ -24,18 +25,12 @@ debian-11_task:
24
25
  container:
25
26
  dockerfile: ci/debian-11.docker
26
27
  cpu: 1
27
- fix-pip_script:
28
- # see https://github.com/pypa/pip/pull/11623
29
- - python3 -m pip install --upgrade "pip @ git+https://github.com/pypa/pip.git@a057c9bc99ad7eab2e3b1539e79eee7d9a923f4f"
30
28
  << : *test
31
29
 
32
30
  debian-unstable_task:
33
31
  container:
34
32
  dockerfile: ci/debian-unstable.docker
35
33
  cpu: 1
36
- fix-pip_script:
37
- # see https://github.com/pypa/pip/pull/11623
38
- - python3 -m pip install --upgrade "pip @ git+https://github.com/pypa/pip.git@a057c9bc99ad7eab2e3b1539e79eee7d9a923f4f"
39
34
  << : *test
40
35
 
41
36
  fedora-37_task:
@@ -58,12 +53,6 @@ manylinux-python3.7_task:
58
53
  cpu: 1
59
54
  env:
60
55
  PATH: "/opt/python/cp37-cp37m/bin/:${PATH}"
61
- fix-meson_script:
62
- # see https://github.com/mesonbuild/meson/issues/11097
63
- - mkdir wheelhouse
64
- - python -m pip wheel --wheel-dir wheelhouse git+https://github.com/mesonbuild/meson@refs/pull/11104/head
65
- - echo "PIP_FIND_LINKS=$(pwd)/wheelhouse/" >> $CIRRUS_ENV
66
- - PIP_FIND_LINKS="$(pwd)/wheelhouse/" python -m pip install meson
67
56
  << : *test
68
57
 
69
58
  miniconda_task:
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  name: docs
2
6
 
3
7
  on:
@@ -19,5 +23,5 @@ jobs:
19
23
  with:
20
24
  python-version: '3.11'
21
25
  - uses: actions/checkout@v3
22
- - run: python -m pip install .[docs]
23
- - run: python -m sphinx -W -b html docs/ build/html/
26
+ - run: python -m pip install nox
27
+ - run: nox -s docs
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2021 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  name: tests
2
6
 
3
7
  on:
@@ -47,13 +51,18 @@ jobs:
47
51
  python: '3.9'
48
52
  - os: ubuntu
49
53
  python: '3.10'
54
+ - os: ubuntu
55
+ python: '3.12-dev'
50
56
  # Test with older supported Meson version.
51
57
  - os: ubuntu
52
58
  python: '3.11'
53
- meson: '0.63.3'
59
+ meson: '~=0.63.3'
60
+ - os: ubuntu
61
+ python: '3.11'
62
+ meson: '~=0.64.0'
54
63
  - os: ubuntu
55
64
  python: '3.11'
56
- meson: '0.64.1'
65
+ meson: '~=1.0.0'
57
66
 
58
67
  steps:
59
68
  - name: Checkout
@@ -77,7 +86,7 @@ jobs:
77
86
  if: ${{ matrix.os == 'windows' }}
78
87
 
79
88
  - name: Install Meson
80
- run: python -m pip --disable-pip-version-check install "meson==${{ matrix.meson }}"
89
+ run: python -m pip --disable-pip-version-check install "meson ${{ matrix.meson }}"
81
90
  if: ${{ matrix.meson }}
82
91
 
83
92
  - name: Install
@@ -98,6 +107,44 @@ jobs:
98
107
  env_vars: PYTHON
99
108
  name: ${{ matrix.python }}
100
109
 
110
+ msvc:
111
+ runs-on: windows-latest
112
+ strategy:
113
+ fail-fast: false
114
+ matrix:
115
+ python:
116
+ - '3.11'
117
+ meson:
118
+ -
119
+
120
+ steps:
121
+ - name: Checkout
122
+ uses: actions/checkout@v3
123
+
124
+ - name: Set up target Python
125
+ uses: actions/setup-python@v4
126
+ with:
127
+ python-version: ${{ matrix.python }}
128
+
129
+ - name: Install Ninja
130
+ run: python -m pip --disable-pip-version-check install ninja
131
+
132
+ - name: Setup MSVC
133
+ uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1
134
+ with:
135
+ architecture: x64
136
+
137
+ - name: Install Meson
138
+ run: python -m pip --disable-pip-version-check install "meson==${{ matrix.meson }}"
139
+ if: ${{ matrix.meson }}
140
+
141
+ - name: Install
142
+ run: python -m pip --disable-pip-version-check install .[test]
143
+
144
+ - name: Run tests
145
+ run: >-
146
+ python -m pytest --showlocals -vv
147
+
101
148
  cygwin:
102
149
  runs-on: windows-latest
103
150
  strategy:
@@ -152,7 +199,7 @@ jobs:
152
199
  restore-keys: cygwin-pip-
153
200
 
154
201
  - name: Install Meson
155
- run: python -m pip --disable-pip-version-check install "meson==${{ matrix.meson }}"
202
+ run: python -m pip --disable-pip-version-check install "meson ${{ matrix.meson }}"
156
203
  if: ${{ matrix.meson }}
157
204
  shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
158
205
 
@@ -208,7 +255,7 @@ jobs:
208
255
  run: sudo apt-get install ninja-build
209
256
 
210
257
  - name: Install Meson
211
- run: python -m pip --disable-pip-version-check install "meson==${{ matrix.meson }}"
258
+ run: python -m pip --disable-pip-version-check install "meson ${{ matrix.meson }}"
212
259
  if: ${{ matrix.meson }}
213
260
 
214
261
  - name: Install
@@ -252,20 +299,12 @@ jobs:
252
299
  - name: Install Ninja
253
300
  run: brew install ninja
254
301
 
255
- - name: Patch pip
256
- # Patch https://github.com/pypa/pip/issues/11539
257
- run: |
258
- cat >>/usr/local/lib/python${{ matrix.python }}/site-packages/pip/_internal/locations/_sysconfig.py <<EOF
259
- def get_prefixed_libs(prefix: str) -> typing.Tuple[str, str]:
260
- if "venv" in sysconfig.get_scheme_names():
261
- paths = sysconfig.get_paths(vars={"base": prefix, "platbase": prefix}, scheme="venv")
262
- else:
263
- paths = sysconfig.get_paths(vars={"base": prefix, "platbase": prefix})
264
- return (paths["purelib"], paths["platlib"])
265
- EOF
302
+ - name: Update pip
303
+ # pip >= 23.0 fixes https://github.com/pypa/pip/issues/11539
304
+ run: python -m pip --disable-pip-version-check install --upgrade "pip >= 23.0"
266
305
 
267
306
  - name: Install Meson
268
- run: python -m pip --disable-pip-version-check install "meson==${{ matrix.meson }}"
307
+ run: python -m pip --disable-pip-version-check install "meson ${{ matrix.meson }}"
269
308
  if: ${{ matrix.meson }}
270
309
 
271
310
  - name: Install
@@ -295,10 +334,10 @@ jobs:
295
334
  - name: Setup Python
296
335
  uses: actions/setup-python@v4
297
336
  with:
298
- python-version: 3.7
337
+ python-version: 3.9
299
338
 
300
339
  - name: Install mypy
301
- run: python -m pip --disable-pip-version-check install mypy==0.981
340
+ run: python -m pip --disable-pip-version-check install mypy==0.991
302
341
 
303
342
  - name: Run mypy
304
343
  run: mypy -p mesonpy
@@ -0,0 +1,11 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ .mesonpy-native-file.ini
6
+ .mesonpy/
7
+ docs/_build
8
+ *.pyc
9
+ .cache/
10
+ dist/
11
+ .coverage
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2021 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  ci:
2
6
  autofix_prs: false
3
7
  autoupdate_commit_msg: 'MAINT: bump repositories'
@@ -21,7 +25,16 @@ repos:
21
25
  hooks:
22
26
  - id: isort
23
27
  - repo: https://github.com/charliermarsh/ruff-pre-commit
24
- rev: v0.0.236
28
+ rev: v0.0.261
25
29
  hooks:
26
30
  - id: ruff
27
- args: [--fix, --format, grouped]
31
+ args: [--fix, --show-fixes, --format, grouped]
32
+ - repo: https://github.com/fsfe/reuse-tool
33
+ rev: v1.1.2
34
+ hooks:
35
+ - id: reuse
36
+ name: add SPDX headers
37
+ args: [annotate, --skip-existing, --skip-unrecognised, --copyright=The meson-python developers, --license=MIT]
38
+ pass_filenames: true
39
+ - id: reuse
40
+ name: reuse lint
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  version: 2
2
6
 
3
7
  python:
@@ -0,0 +1,253 @@
1
+ .. SPDX-FileCopyrightText: 2021 The meson-python developers
2
+ ..
3
+ .. SPDX-License-Identifier: MIT
4
+
5
+ .. Contributors list for the latest release can be generated with
6
+
7
+ git log --format='%aN' $PREV..HEAD | sort -u | awk '$1=$1' RS='' FS='\n' OFS=', '
8
+
9
+
10
+ ++++++++++
11
+ Change-log
12
+ ++++++++++
13
+
14
+
15
+ 0.13.1
16
+ ======
17
+
18
+ - Fix regression in cross-compilation via ``$ARCHFLAGS`` on macOS where the
19
+ cross file was written in the build directory before it was created,
20
+ resulting in an error.
21
+ - Do not require setting ``$_PYTHON_HOST_PLATFORM`` when cross-compiling via
22
+ ``$ARCHFLAGS`` on macOS.
23
+ - Add the ``--quiet`` option when invoking ``meson install``. The installation
24
+ paths are a detail of the ``meson-python`` implementation and are generally
25
+ not interesting for the user.
26
+ - Fix terminal logging when overriding the current line when listing files
27
+ added to the wheel.
28
+ - Improve the error message emitted when a package split between the
29
+ ``purelib`` and ``platlib`` wheel locations is detected.
30
+
31
+ Daniele Nicolodi, Ralf Gommers --- 28-04-2023.
32
+
33
+
34
+ 0.13.0
35
+ ======
36
+
37
+ - Add support for editable installs.
38
+ - Adjust the default build options passed to ``meson setup``.
39
+ - Make sure that the directory where the wheel or sdist build artifacts are
40
+ created exists. Fixes building with PDM.
41
+ - Fix the specification of the C++ compiler for cross-compilation with
42
+ ``$ARCHFLAGS`` on macOS.
43
+ - Pass the ``--reconfigure`` option to ``meson setup`` if and only if the
44
+ specified build directory exists and is a valid Meson build directory.
45
+ - Pass the ``--no-rebuild`` option to ``meson install``.
46
+ - Allow to select the files to be included in the wheel via Meson install tags
47
+ passing the ``--tags`` option to ``meson install`` via ``pyproject.toml`` or
48
+ config settings.
49
+ - Do not use the ``meson compile`` indirection to build the project, except on
50
+ Windows, where it is required to setup the Visual Studio environment.
51
+ - Do not add ``ninja`` to the build dependencies if ``$NINJA`` is set but it
52
+ does not point to a ``ninja`` executable with the required minimum version.
53
+ - Verify at run time that Meson satisfies the minimum required version.
54
+ - Place native and cross files in the build directory instead of in the
55
+ source directory.
56
+ - Drop the ``typing-extensions`` package dependency.
57
+ - Add dependency on ``setuptools`` on Python 3.12 and later. This fixes build
58
+ error due to Meson depending on the ``distutils`` standard library module
59
+ removed in Python 3.12.
60
+ - Bump the required ``pyproject-metadata`` version to 0.7.1.
61
+ - Allows some more cross-compilation setups by not checking extension modules
62
+ filename suffixes against the suffixes accepted by the current interpreter.
63
+ - Raise an error when a file that would be installed by Meson cannot be mapped
64
+ to a wheel location.
65
+ - Raise an error when a package is split between ``platlib`` and ``purelib``.
66
+ - Do not generate a warning when ``pyproject.toml`` does not contain a
67
+ ``project`` section and Python package metadata is derived from ``meson.build``.
68
+ - Improve reporting of ``pyproject.toml`` validation errors.
69
+ - Fix validation of tool specific options in ``pyproject.toml``. In
70
+ particular, allows to specify an incomplete set of options in the
71
+ ``tool.meson-python.args`` table.
72
+
73
+ Daniele Nicolodi, Doron Behar, Eli Schwartz, Filipe Laíns, Lars Pastewka,
74
+ Luigi Giugliano, Matthias Köppe, Peter Urban, Ralf Gommers, Stefan van der
75
+ Walt, Thomas Li --- 18-04-2023.
76
+
77
+
78
+ 0.12.1
79
+ ======
80
+
81
+ - Fix regression where the ``$MACOSX_DEPLOYMENT_TARGET`` environment variable
82
+ was accidentally renamed to ``$MACOS_DEPLOYMENT_TARGET``.
83
+
84
+ Filipe Laíns, Stefan van der Walt --- 17-02-2023.
85
+
86
+
87
+ 0.12.0
88
+ ======
89
+
90
+ - Require the ``typing_extensions`` package for Python < 3.10 rather than for
91
+ Python < 3.8 only.
92
+ - Emit an error message and raise ``SystemExit`` on expected errors.
93
+ - Revise error messages for consistency.
94
+ - Support setuptools-style macOS cross compilation via ``$ARCHFLAGS``.
95
+ - Allow to overwrite macOS platform tag via ``$_PYTHON_HOST_PLATFORM``.
96
+ - Include an hint with the most similar known option names in the error
97
+ message emitted when an unknown config setting is encountered.
98
+
99
+ Daniele Nicolodi, Filipe Laíns, Henry Schreiner, Matthias Köppe, Thomas A
100
+ Caswell --- 22-12-2022.
101
+
102
+
103
+ 0.11.0
104
+ ======
105
+
106
+ - Project moved to the ``mesonbuild`` organization.
107
+ - Determine wheel tags by introspecting the Python interpreter.
108
+ - Allow users to pass options directly to Meson via the ``dist``, ``setup``,
109
+ ``compile``, and ``install`` entries in the ``tools.meson-python.args``
110
+ table in ``pyproject.toml``, or via the ``dist-args``, ``setup-args``,
111
+ ``compile-args``, and ``install-args`` config settings.
112
+ - Use the system ``ninja`` if possible. Return ``ninja`` as a build dependency
113
+ otherwise.
114
+ - Include files generated by ``mesonadd_dist_script`` in the sdist.
115
+ - Use ``tomllib`` on Python 3.11 or later.
116
+ - Drop the ``wheel`` package dependency.
117
+ - Fix bug where the ``entry_points.txt`` file was not generated.
118
+ - Fix bug where Cygwin Python extensions were not being noticed.
119
+
120
+ Ben Greiner, Daniele Nicolodi, Filipe Laíns, Henry Schreiner, Matthias Köppe,
121
+ Ralf Gommers, Sam Thursfield, Thomas Li --- 21-11-2022.
122
+
123
+
124
+ 0.10.0
125
+ ======
126
+
127
+ - Ignore the minor version on macOS 11 or later, to match the behavior of
128
+ ``pypa/packaging``.
129
+
130
+ Filipe Laíns, Ralf Gommers --- 05-10-2022.
131
+
132
+
133
+ 0.9.0
134
+ =====
135
+
136
+ - More fixes on ABI tag detection.
137
+ - Fix incorrect tag on 32-bit Python running on a x86_64 host.
138
+ - Fix sdist permissions.
139
+ - Fix incorrect PyPy tags.
140
+ - Fix ``install_subdirs`` not being included in wheels.
141
+ - Take ``MACOSX_DEPLOYMENT_TARGET`` into account for the platform tag.
142
+ - Don't set the rpath on binaries if unneeded.
143
+
144
+ Eli Schwartz, Filipe Laíns, Matthias Köppe, Peyton Murray, Ralf Gommers,
145
+ Thomas Kluyver, Thomas Li --- 29-09-2022.
146
+
147
+
148
+ 0.8.1
149
+ =====
150
+
151
+ - Fix ``UnboundLocalError`` in tag detection code.
152
+
153
+ Filipe Laíns, Ralf Gommers --- 28-07-2022.
154
+
155
+
156
+ 0.8.0
157
+ =====
158
+
159
+ - Fix sometimes the incorrect ABI tags being generated.
160
+ - Add workaround for macOS 11 and 12 installations that are missing a minor
161
+ version in the platform string.
162
+
163
+ Filipe Laíns --- 26-07-2022.
164
+
165
+
166
+ 0.7.0
167
+ =====
168
+
169
+ - Fix the wrong Python and ABI tags being generated in Meson 0.63.0.
170
+ - Fix project license not being included in the project metadata.
171
+
172
+ Filipe Laíns, Ralf Gommers --- 22-07-2022.
173
+
174
+
175
+ 0.6.0
176
+ =====
177
+
178
+ - Project re-licensed to MIT.
179
+ - Error out when running in an unsupported interpreter.
180
+ - Fix slightly broken Debian heuristics.
181
+ - Update ``pep621`` dependency to ``pyproject-metadata``.
182
+
183
+ Filipe Laíns, Ralf Gommers, Thomas A Caswell --- 21-06-2022.
184
+
185
+
186
+ 0.5.0
187
+ =====
188
+
189
+ - Improvements in dependency detections.
190
+ - Include uncommited changes in sdists.
191
+
192
+ Filipe Laíns --- 26-05-2022.
193
+
194
+
195
+ 0.4.0
196
+ =====
197
+
198
+ - Set sane default arguments for release builds.
199
+
200
+ Filipe Laíns --- 06-05-2022.
201
+
202
+
203
+ 0.3.0
204
+ =====
205
+
206
+ - Initial cross-platform support.
207
+ - Bundling libraries is still only supported on Linux.
208
+ - Add initial documentation.
209
+ - The build directory is now located in the project source.
210
+
211
+ Filipe Laíns, Rafael Silva --- 23-03-2022.
212
+
213
+
214
+ 0.2.1
215
+ =====
216
+
217
+ - Fix getting the project version dynamically from Meson.
218
+
219
+ Filipe Laíns --- 26-02-2022.
220
+
221
+
222
+ 0.2.0
223
+ =====
224
+
225
+ - Select the correct ABI and Python tags.
226
+ - Force Meson to use the correct Python executable.
227
+ - Replace auditwheel with in-house vendoring mechanism.
228
+
229
+ Filipe Laíns --- 24-01-2022.
230
+
231
+
232
+ 0.1.2
233
+ =====
234
+
235
+ - Fix auditwheel not being run.
236
+
237
+ Filipe Laíns --- 12-11-2021.
238
+
239
+
240
+ 0.1.1
241
+ =====
242
+
243
+ - Fix minor compatibility issue with Python < 3.9.
244
+
245
+ Filipe Laíns --- 28-10-2021.
246
+
247
+
248
+ 0.1.0
249
+ =====
250
+
251
+ - Initial release.
252
+
253
+ Filipe Laíns --- 28-10-2021.
@@ -0,0 +1,21 @@
1
+ Copyright © 2022 the meson-python contributors
2
+ Copyright © 2021 Quansight Labs and Filipe Laíns
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a
5
+ copy of this software and associated documentation files (the "Software"),
6
+ to deal in the Software without restriction, including without limitation
7
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
+ and/or sell copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice (including the next
12
+ paragraph) shall be included in all copies or substantial portions of the
13
+ Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
+ DEALINGS IN THE SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: meson-python
3
- Version: 0.13.0.pre0
3
+ Version: 0.13.1
4
4
  Summary: Meson Python build backend (PEP 517)
5
5
  Keywords: meson build backend pep517 package
6
6
  Home-page: https://github.com/mesonbuild/meson-python
@@ -35,54 +35,51 @@ Project-URL: Changelog, https://meson-python.readthedocs.io/en/latest/changelog.
35
35
  Requires-Python: >=3.7
36
36
  Requires-Dist: colorama; os_name == "nt"
37
37
  Requires-Dist: meson>=0.63.3
38
- Requires-Dist: pyproject-metadata>=0.6.1
38
+ Requires-Dist: pyproject-metadata>=0.7.1
39
39
  Requires-Dist: tomli>=1.0.0; python_version < "3.11"
40
+ Requires-Dist: setuptools>=60.0; python_version >= "3.12"
40
41
  Requires-Dist: build; extra == "test"
41
42
  Requires-Dist: pytest>=6.0; extra == "test"
42
43
  Requires-Dist: pytest-cov[toml]; extra == "test"
43
44
  Requires-Dist: pytest-mock; extra == "test"
44
45
  Requires-Dist: auditwheel; extra == "test"
45
- Requires-Dist: Cython; extra == "test"
46
+ Requires-Dist: cython>=0.29.34; extra == "test"
46
47
  Requires-Dist: wheel; extra == "test"
47
48
  Requires-Dist: typing-extensions>=3.7.4; python_version < "3.10" and extra == "test"
48
49
  Requires-Dist: furo>=2021.08.31; extra == "docs"
49
50
  Requires-Dist: sphinx~=4.0; extra == "docs"
50
51
  Requires-Dist: sphinx-autodoc-typehints>=1.10; extra == "docs"
52
+ Requires-Dist: sphinx-contributors>=0.2.2; extra == "docs"
53
+ Requires-Dist: sphinx-copybutton>=0.5.0; extra == "docs"
54
+ Requires-Dist: sphinx-design>=0.1.0; extra == "docs"
51
55
  Requires-Dist: sphinx-autobuild; extra == "docs"
56
+ Requires-Dist: sphinxcontrib-spelling>=7.0.0; extra == "docs"
57
+ Requires-Dist: sphinxext-opengraph>=0.7.0; extra == "docs"
52
58
  Provides-Extra: test
53
59
  Provides-Extra: docs
54
- Description-Content-Type: text/markdown
60
+ Description-Content-Type: text/x-rst
55
61
 
56
- # meson-python [![PyPI version](https://badge.fury.io/py/meson-python.svg)](https://pypi.org/project/meson-python/)
62
+ .. SPDX-FileCopyrightText: 2021 The meson-python developers
57
63
 
58
- [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/mesonbuild/meson-python/main.svg)](https://results.pre-commit.ci/latest/github/mesonbuild/meson-python/main)
59
- [![tests](https://github.com/mesonbuild/meson-python/actions/workflows/tests.yml/badge.svg)](https://github.com/mesonbuild/meson-python/actions/workflows/tests.yml)
60
- [![codecov](https://codecov.io/gh/mesonbuild/meson-python/branch/main/graph/badge.svg?token=xcb2u2YvVk)](https://codecov.io/gh/mesonbuild/meson-python)
61
- [![Documentation Status](https://readthedocs.org/projects/meson-python/badge/?version=stable)](https://meson-python.readthedocs.io/en/stable/?badge=stable)
64
+ .. SPDX-License-Identifier: MIT
62
65
 
63
- Python build backend ([PEP 517](https://www.python.org/dev/peps/pep-0517/)) for Meson projects.
66
+ meson-python
67
+ ============
64
68
 
65
- See the [documentation](https://meson-python.readthedocs.io/en/stable/) for more details.
69
+ ``meson-python`` is a Python build backend built on top of the Meson__
70
+ build system. It enables to use Meson for the configuration and build
71
+ steps of Python packages. Meson is an open source build system meant
72
+ to be both extremely fast, and, even more importantly, as user
73
+ friendly as possible. ``meson-python`` is best suited for building
74
+ Python packages containing extension modules implemented in languages
75
+ such as C, C++, Cython, Fortran, Pythran, or Rust. Consult the
76
+ documentation__ for more details.
66
77
 
67
- ### Status
78
+ Questions regarding the use of ``meson-python`` can be directed to the
79
+ discussions__ space on GitHub. Bug reports and feature requests can be
80
+ filed as GitHub issues__.
68
81
 
69
- - Pure Python modules :+1:
70
- - Native modules
71
- - Don't link against anything :+1:
72
- - Link against external libraries :+1:
73
- - Link against libraries from the Meson project :+1:
74
- - Detect the ABI :+1:
75
- - Scripts (executables in Meson)
76
- - Don't link against anything :+1:
77
- - Link against external libraries :+1:
78
- - Link against libraries from the Meson project :hammer:
79
-
80
- #### Platform Support
81
-
82
- - Linux :+1:
83
- - Windows :hammer:
84
- - Does not support linking against libraries from the Meson project
85
- - MacOS :hammer:
86
- - Does not support linking against libraries from the Meson project
87
- - Other UNIX-like :warning:
88
- - Most platforms should work, but currently that is not tested or guaranteed
82
+ __ https://mesonbuild.com/
83
+ __ https://meson-python.readthedocs.io/en/latest/
84
+ __ https://github.com/mesonbuild/meson-python/discussions/
85
+ __ https://github.com/mesonbuild/meson-python/issues/
@@ -0,0 +1,24 @@
1
+ .. SPDX-FileCopyrightText: 2021 The meson-python developers
2
+
3
+ .. SPDX-License-Identifier: MIT
4
+
5
+ meson-python
6
+ ============
7
+
8
+ ``meson-python`` is a Python build backend built on top of the Meson__
9
+ build system. It enables to use Meson for the configuration and build
10
+ steps of Python packages. Meson is an open source build system meant
11
+ to be both extremely fast, and, even more importantly, as user
12
+ friendly as possible. ``meson-python`` is best suited for building
13
+ Python packages containing extension modules implemented in languages
14
+ such as C, C++, Cython, Fortran, Pythran, or Rust. Consult the
15
+ documentation__ for more details.
16
+
17
+ Questions regarding the use of ``meson-python`` can be directed to the
18
+ discussions__ space on GitHub. Bug reports and feature requests can be
19
+ filed as GitHub issues__.
20
+
21
+ __ https://mesonbuild.com/
22
+ __ https://meson-python.readthedocs.io/en/latest/
23
+ __ https://github.com/mesonbuild/meson-python/discussions/
24
+ __ https://github.com/mesonbuild/meson-python/issues/
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  # 20221203
2
6
  FROM alpine:3
3
7
  RUN apk add --no-cache python3-dev py3-pip build-base ninja git patchelf
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  # 20221203
2
6
  FROM archlinux:latest
3
7
  RUN pacman -Sy && pacman -S --noconfirm python python-pip gcc ninja git patchelf
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  # 20221203
2
6
  FROM debian:bullseye
3
7
  RUN apt-get update && apt-get install -y git ninja-build patchelf python3-pip python3-venv && rm -rf /var/lib/apt/lists/*
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  # 20221203
2
6
  FROM debian:unstable
3
7
  RUN apt-get update && apt-get install -y git ninja-build patchelf python3-pip python3-venv && rm -rf /var/lib/apt/lists/*
@@ -1,3 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2022 The meson-python developers
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
1
5
  # 20221203
2
6
  FROM fedora:37
3
7
  RUN dnf -y update && dnf -y install python3-devel python3-pip gcc ninja-build git patchelf && dnf clean all