3310487509
10.11.2022, aktualisiert um 14:32:24 Uhr
9701
2
0
Adding many Python files and directories to a single dmg file
How can I make a single dmg file out of many Python files in different folders? I know that's doable for a single file, but how can I do it for several?
I can make a dmg for a 1.py file but not for numerous files in several directories.
I can make a dmg for a 1.py file but not for numerous files in several directories.
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 4574216585
Url: https://administrator.de/contentid/4574216585
Ausgedruckt am: 21.11.2024 um 20:11 Uhr
2 Kommentare
Neuester Kommentar
https://dmgbuild.readthedocs.io/en/latest/settings.html#content-settings
Note the files (complete folders are also possible) which should go into the DMG in settings.py
Finally build the dmg
Note the files (complete folders are also possible) which should go into the DMG in settings.py
files = ['/path1/script1.py', '/path2/script2.py']
dmgbuild -s settings.py "Volume Name" output.dmg