Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d81ddb8

Browse filesBrowse files
committed
BLD: Implement PEP639 licensing
1 parent 3c7bc45 commit d81ddb8
Copy full SHA for d81ddb8

File tree

2 files changed

+4
-12
lines changed
Filter options

2 files changed

+4
-12
lines changed

‎.github/workflows/cibuildwheel.yml

Copy file name to clipboardExpand all lines: .github/workflows/cibuildwheel.yml
-8Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ jobs:
4848
with:
4949
python-version: '3.10'
5050

51-
# Something changed somewhere that prevents the downloaded-at-build-time
52-
# licenses from being included in built wheels, so pre-download them so
53-
# that they exist before the build and are included.
54-
- name: Pre-download bundled licenses
55-
run: >
56-
curl -Lo LICENSE/LICENSE_QHULL
57-
https://github.com/qhull/qhull/raw/2020.2/COPYING.txt
58-
5951
- name: Install dependencies
6052
run: python -m pip install build twine
6153

‎pyproject.toml

Copy file name to clipboardExpand all lines: pyproject.toml
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ authors = [
66
]
77
description = "Python plotting package"
88
readme = "README.md"
9-
license = { file = "LICENSE/LICENSE" }
10-
dynamic = ["version"]
9+
dynamic = ["version", "license", "license-files"]
1110
classifiers=[
1211
"Development Status :: 5 - Production/Stable",
1312
"Framework :: Matplotlib",
1413
"Intended Audience :: Science/Research",
1514
"Intended Audience :: Education",
16-
"License :: OSI Approved :: Python Software Foundation License",
1715
"Programming Language :: Python",
1816
"Programming Language :: Python :: 3",
1917
"Programming Language :: Python :: 3.10",
@@ -70,7 +68,9 @@ dev = [
7068
build-backend = "mesonpy"
7169
# Also keep in sync with optional dependencies above.
7270
requires = [
73-
"meson-python>=0.13.1",
71+
"meson-python @ git+https://github.com/dnicolodi/meson-python@pep639",
72+
"meson>=1.6.0rc2",
73+
"pyproject-metadata>=0.9.0b7",
7474
"pybind11>=2.6,!=2.13.3",
7575
"setuptools_scm>=7",
7676
]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.