It looks like my old approach wasn’t going to work, as I could not edit pyo files within the multifile.
So I looked into ppackage, and made this pdef file:
import sys
packager.setHost('https://raw.githubusercontent.com/legalian/HS/master/')
sys.path.insert(0,'')
class MyPackage(package):
require('morepy','panda3d','numpy')
config(version="0.0",display_name="Sburb")
# module('core.*')
dir('models',newDir='models')
dir('textures',newDir='textures')
dir('sounds',newDir='sounds')
dir('data',newDir='data')
mainModule('main')
Then I ran the command “ppackage -i temp dat.pdef” and got a directory called temp. I pushed that directory to github.
But then how to I get a disk installer, or reference that file in a p3d file, on a computer that doesn’t necessarily have python or panda3d installed?