https://pantsbuild.org/ logo
e

enough-analyst-54434

01/18/2021, 9:48 PM
Assuming I've got this right, there is no easy recommendation here. If the code is compatible with all Python 3's you expect will be installed and available on the machine you deploy to, you might specify a custom shebang as
/usr/bin/env python3
here: https://www.pantsbuild.org/docs/python-target-types#pex_binary