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 no