File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,9 @@ mkp-extract foo-1.0.mkp
6969mkp-extract foo-1.0.mkp --output-dir bar --no-prefix
7070```
7171
72- ### Extract mkp package programmatically
72+ ### Advanced usage
73+
74+ #### Extract mkp package programmatically
7375
7476``` python
7577import mkp
@@ -79,7 +81,7 @@ print(package.info)
7981package.extract_files(' path/to/somewhere' )
8082```
8183
82- ### Pack files to mkp package
84+ #### Pack files to mkp package
8385
8486In contrast to ` dist ` , this provides the possibility to manually select the
8587files by replacing ` find_files ` . It is also possible to choose a different
@@ -101,8 +103,6 @@ info = {
101103mkp.pack_to_file(info, ' path/to/files' , ' test-1.0.mkp' )
102104```
103105
104- ### Advanced usage
105-
106106#### Exclude files when packing using [ regular expressions] ( https://docs.python.org/3/library/re.html ) :
107107
108108``` python
You can’t perform that action at this time.
0 commit comments