Iulian Onofrei Iulian Onofrei - 1 year ago 125
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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download