Skip to content

Commit f1cd7a9

Browse files
agriyakhetarpalwhitequark
authored andcommitted
Add License-Expression: and License-File: fields, more classifiers
1 parent 296f77c commit f1cd7a9

File tree

1 file changed

+27
-14
lines changed

1 file changed

+27
-14
lines changed

make_wheels.py

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -134,20 +134,33 @@ def write_ziglang_wheel(out_dir, *, version, platform, archive):
134134
name='ziglang',
135135
version=version,
136136
tag=f'py3-none-{platform}',
137-
metadata={
138-
'Summary': 'Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.',
139-
'Description-Content-Type': 'text/markdown',
140-
'License': 'MIT',
141-
'Classifier': [
142-
'License :: OSI Approved :: MIT License',
143-
],
144-
'Project-URL': [
145-
'Homepage, https://ziglang.org',
146-
'Source Code, https://github.com/ziglang/zig-pypi',
147-
'Bug Tracker, https://github.com/ziglang/zig-pypi/issues',
148-
],
149-
'Requires-Python': '~=3.5',
150-
},
137+
metadata=[
138+
('Summary', 'Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.'),
139+
('Description-Content-Type', "'text/markdown'; charset=UTF-8; variant=GFM"),
140+
('License-Expression', 'MIT'),
141+
('License-File', 'LICENSE'),
142+
('License-File', 'ziglang/lib/libc/glibc/LICENSES'),
143+
('License-File', 'ziglang/lib/libc/mingw/COPYING'),
144+
('License-File', 'ziglang/lib/libc/musl/COPYRIGHT'),
145+
('License-File', 'ziglang/lib/libc/wasi/LICENSE'),
146+
('License-File', 'ziglang/lib/libc/wasi/LICENSE-APACHE'),
147+
('License-File', 'ziglang/lib/libc/wasi/LICENSE-APACHE-LLVM'),
148+
('License-File', 'ziglang/lib/libc/wasi/LICENSE-MIT'),
149+
('License-File', 'ziglang/lib/libcxx/LICENSE.TXT'),
150+
('License-File', 'ziglang/lib/libcxxabi/LICENSE.TXT'),
151+
('License-File', 'ziglang/lib/libunwind/LICENSE.TXT'),
152+
('Classifier', 'Development Status :: 4 - Beta'),
153+
('Classifier', 'Intended Audience :: Developers'),
154+
('Classifier', 'Topic :: Software Development :: Compilers'),
155+
('Classifier', 'Topic :: Software Development :: Code Generators'),
156+
('Classifier', 'Topic :: Software Development :: Build Tools'),
157+
('Classifier', 'Programming Language :: Other'),
158+
('Classifier', 'Programming Language :: Other Scripting Engines'),
159+
('Project-URL', 'Homepage, https://ziglang.org'),
160+
('Project-URL', 'Source Code, https://github.com/ziglang/zig-pypi'),
161+
('Project-URL', 'Bug Tracker, https://github.com/ziglang/zig-pypi/issues'),
162+
('Requires-Python', '~=3.5'),
163+
],
151164
description=description,
152165
contents=contents,
153166
)

0 commit comments

Comments
 (0)