You can build an MSI containing Python and your code and deploy it to users that way (see https://github.com/pyxll/pyxll-installer), or PyXLL has lots of other good options to deploy Python code to end users - see https://www.pyxll.com/docs/userguide/distribution.html