You can just zip the whole folder, not the stuff inside it. Python needs the actual TestPackage/ directory to exist inside the zip.
This is the only command you need:
zip -r TestPackage.zip TestPackage/
Your old command zipped the contents, so Python couldn’t see the package at all.