pk3make 1.1__py3-none-any.whl → 1.1.1__py3-none-any.whl
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.
- pk3make/__main__.py +5 -5
- {pk3make-1.1.dist-info → pk3make-1.1.1.dist-info}/METADATA +22 -7
- pk3make-1.1.1.dist-info/RECORD +11 -0
- pk3make-1.1.dist-info/RECORD +0 -11
- {pk3make-1.1.dist-info → pk3make-1.1.1.dist-info}/WHEEL +0 -0
- {pk3make-1.1.dist-info → pk3make-1.1.1.dist-info}/entry_points.txt +0 -0
- {pk3make-1.1.dist-info → pk3make-1.1.1.dist-info}/licenses/LICENSE +0 -0
pk3make/__main__.py
CHANGED
@@ -17,7 +17,7 @@ def prepare(workdir="build"):
|
|
17
17
|
|
18
18
|
def cr_build_lump(lock, lumpdef, context):
|
19
19
|
import shutil,os,re
|
20
|
-
from modules import doompic
|
20
|
+
from .modules import doompic
|
21
21
|
|
22
22
|
bytedump = None
|
23
23
|
|
@@ -61,7 +61,7 @@ def cr_build_lump(lock, lumpdef, context):
|
|
61
61
|
ofile.write(bytedump)
|
62
62
|
|
63
63
|
def get_palette(lock, lumpname, opts, pdict):
|
64
|
-
from modules import doompic, doomglob
|
64
|
+
from .modules import doompic, doomglob
|
65
65
|
import os
|
66
66
|
|
67
67
|
lock.acquire()
|
@@ -83,7 +83,7 @@ def get_palette(lock, lumpname, opts, pdict):
|
|
83
83
|
|
84
84
|
|
85
85
|
def build(makefile):
|
86
|
-
from modules import doompic, doomglob
|
86
|
+
from .modules import doompic, doomglob
|
87
87
|
from natsort import natsorted, ns
|
88
88
|
import shutil, os, re
|
89
89
|
import asyncio, concurrent.futures, multiprocessing
|
@@ -145,7 +145,7 @@ def build(makefile):
|
|
145
145
|
return
|
146
146
|
|
147
147
|
def pack(makefile):
|
148
|
-
from modules import pk3zip, doomglob
|
148
|
+
from .modules import pk3zip, doomglob
|
149
149
|
from natsort import natsorted, ns
|
150
150
|
import io, os, hashlib, pathlib, re
|
151
151
|
|
@@ -224,7 +224,7 @@ def pack(makefile):
|
|
224
224
|
return
|
225
225
|
|
226
226
|
def main():
|
227
|
-
from modules import pk3makefile
|
227
|
+
from .modules import pk3makefile
|
228
228
|
|
229
229
|
# Step switches
|
230
230
|
step_prepare = False
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pk3make
|
3
|
-
Version: 1.1
|
3
|
+
Version: 1.1.1
|
4
4
|
Summary: Build system for Weissblatt PK3 files
|
5
5
|
Project-URL: Homepage, https://github.com/liquidunderground/pk3make
|
6
6
|
Project-URL: GitHub, https://github.com/liquidunderground/pk3make
|
@@ -25,18 +25,33 @@ Description-Content-Type: text/markdown
|
|
25
25
|
|
26
26
|
## Installation
|
27
27
|
|
28
|
-
|
29
|
-
|
28
|
+
0. Set up a [virtual environment](https://docs.python.org/3/library/venv.html)
|
29
|
+
1. Install PK3Make: `pip install pk3make`
|
30
|
+
2. ???
|
31
|
+
3. Profits
|
30
32
|
|
31
33
|
## How to use
|
32
34
|
|
33
|
-
|
35
|
+
To fully build your project, simply run:
|
34
36
|
|
35
|
-
|
37
|
+
python -m pk3make
|
38
|
+
|
39
|
+
To get an overview of options for PK3Make, type:
|
36
40
|
|
37
|
-
|
41
|
+
python -m pk3make --help
|
42
|
+
|
43
|
+
|
44
|
+
By default, will use `./PK3Makefile` for it's PK3Makefile. Other can be given through `pk3make [PK3MAKEFILE]`. More on PK3Makefiles in the PK3Makefile reference below.
|
45
|
+
|
46
|
+
### Build steps
|
47
|
+
|
48
|
+
PK3Makefile defines four subcommands, each with their own unique options:
|
49
|
+
|
50
|
+
1. `pk3make clean`: Clean & remove the build directory
|
51
|
+
2. `pk3make build`: Compile the build directory.
|
52
|
+
3. `pk3make pack`: Assemble a PK3 file from the build directory's contents
|
53
|
+
4. `pk3make all`: Build and pack (Default).
|
38
54
|
|
39
|
-
./pk3make.py make ./PK3Makefile # Default PK3Makefile
|
40
55
|
|
41
56
|
### Notes, Tips and Caveats
|
42
57
|
|
@@ -0,0 +1,11 @@
|
|
1
|
+
pk3make/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
pk3make/__main__.py,sha256=FrON5djBCfNm6CYIv3mhJkiXErn7O-AoPWA7tiF7jNw,10864
|
3
|
+
pk3make/modules/doomglob.py,sha256=tXRiFwScIP1KGmSJI-bfAeKbXzI-KGB5oc8LG0Yg7DE,1278
|
4
|
+
pk3make/modules/doompic.py,sha256=KOZURZPrUcgL0yHhyloiCyKYl-6Y7LLnk-v9xQpuAmU,14208
|
5
|
+
pk3make/modules/pk3makefile.py,sha256=YaNx0NoVwEZq1t1m1RTd3i5uRm3l-DikWsVp-HVdnfE,2199
|
6
|
+
pk3make/modules/pk3zip.py,sha256=ZdaEa1wh4gTrWZrkE4Orf7IS_PyMidgII4yRK215Bpg,3209
|
7
|
+
pk3make-1.1.1.dist-info/METADATA,sha256=Ubk-NvQl2wHltQwgwdCMn1w43q_mLEvof9c_JrqHEcg,6428
|
8
|
+
pk3make-1.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
9
|
+
pk3make-1.1.1.dist-info/entry_points.txt,sha256=I5d-GktPSJQuR7bdqW8rWo2Ta5usyFCVX3UlDmh-Duc,45
|
10
|
+
pk3make-1.1.1.dist-info/licenses/LICENSE,sha256=zfXyi_cMnW2CRuY9eAQyCiSvFLG3n8OpQEnsj7x2Eyk,7626
|
11
|
+
pk3make-1.1.1.dist-info/RECORD,,
|
pk3make-1.1.dist-info/RECORD
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
pk3make/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
pk3make/__main__.py,sha256=Ls3uIkNCE95ZY2HeR8DtWNRkSTKDjvAJ3uqSVQa4t-k,10859
|
3
|
-
pk3make/modules/doomglob.py,sha256=tXRiFwScIP1KGmSJI-bfAeKbXzI-KGB5oc8LG0Yg7DE,1278
|
4
|
-
pk3make/modules/doompic.py,sha256=KOZURZPrUcgL0yHhyloiCyKYl-6Y7LLnk-v9xQpuAmU,14208
|
5
|
-
pk3make/modules/pk3makefile.py,sha256=YaNx0NoVwEZq1t1m1RTd3i5uRm3l-DikWsVp-HVdnfE,2199
|
6
|
-
pk3make/modules/pk3zip.py,sha256=ZdaEa1wh4gTrWZrkE4Orf7IS_PyMidgII4yRK215Bpg,3209
|
7
|
-
pk3make-1.1.dist-info/METADATA,sha256=0XIdDneGJ282VyHoOvWeISxTdg1uB8tmVfYO-z7jgKc,6000
|
8
|
-
pk3make-1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
9
|
-
pk3make-1.1.dist-info/entry_points.txt,sha256=I5d-GktPSJQuR7bdqW8rWo2Ta5usyFCVX3UlDmh-Duc,45
|
10
|
-
pk3make-1.1.dist-info/licenses/LICENSE,sha256=zfXyi_cMnW2CRuY9eAQyCiSvFLG3n8OpQEnsj7x2Eyk,7626
|
11
|
-
pk3make-1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|