bin/compile: Add support for Python packages