File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ from wheelfile import WheelFile , __version__
2
+ from pathlib import Path
3
+
4
+ spec = {
5
+ 'distname' : 'wheelfile' ,
6
+ 'version' : __version__
7
+ }
8
+
9
+ requirements = [
10
+ 'packaging ~= 20.8'
11
+ ]
12
+
13
+ with WheelFile (mode = 'w' , ** spec ) as wf :
14
+ wf .metadata .requires_dists = requirements
15
+ wf .metadata .requires_python = '>=3.6'
16
+
17
+ wf .metadata .summary = "API for inspecting and creating .whl files"
18
+ wf .metadata .description = Path ('./README.md' ).read_text ()
19
+ wf .metadata .description_content_type = 'text/markdown'
20
+
21
+ wf .metadata .keywords = 'wheel packages packaging pip build distutils'
22
+ wf .metadata .classifiers = [
23
+ 'Development Status :: 2 - Pre-Alpha' ,
24
+ 'Intended Audience :: Developers' ,
25
+ 'License :: OSI Approved :: MIT License' ,
26
+ 'Topic :: Software Development :: Build Tools' ,
27
+ 'Topic :: Software Development :: Libraries' ,
28
+ 'Topic :: System :: Archiving :: Packaging' ,
29
+ 'Topic :: System :: Software Distribution' ,
30
+ 'Topic :: Utilities' ,
31
+ ]
32
+
33
+ wf .metadata .author = "Błażej Michalik"
34
+ wf .metadata .home_page = 'https://github.com/MrMino/wheelfile'
35
+
36
+ wf .write ('./wheelfile.py' )
37
+
38
+ # 🧀
You can’t perform that action at this time.
0 commit comments