Include python library in snap

I’m trying to snap a python program which uses cryptoauthlib. Unfortunately, the version of cryptoauthlib in the pip repos is currently busted, so I need to include my own version which I built myself. How do I go about including a compiled library in a snap, and then how do I get my python code to recognize this library?

Apologies for lack of detail, but I’m not sure where to start with this task :sweat_smile:

Alternatively, the dev suggested pip installing with the --no-cache option, so a way to use that in my snapcraft.yaml would maybe work, too.

Figured it out, turns out I don’t understand pip. I just nuked my cache and it started working.