Iulian Onofrei Iulian Onofrei - 3 months ago 54
Python Question

Compile python virtual environment

I created a Python script for a Freelance job and I can't find how to compile/build/package it for easy sharing. The person for which I created it is not a technical one, so I can't explain him how to activate a virtualenv, install requirements and so on.

What is the easiest way for him to run the project right after downloading it?

Can the whole virtualenv be compiled into an

? If yes, can this be done inside a macOS system?


I ended up using PyInstaller as this worked out of the box for me.