bundling python script for non python target

Viewed 18

I have a python script which also imports other libraries like numpy. Now how do I package this script, maybe as a binary or an executable, that can run on a target machine which need not necessarily have python.

I don't want to package it with all the python libraries available in my environment but just the ones that are necessary and imported in my python script, keeping it light.

PS - This could also work if it has a function exposed and some other process can invoke it but without python requirements

0 Answers
Related