[Pythonmac-SIG] py2app -A and virtual environments

Just van Rossum justvanrossum at gmail.com
Mon Oct 1 09:43:09 EDT 2018


> On 28 Sep 2018, at 11:31, Joni Orponen <j.orponen at 4teamwork.ch> wrote:
> 
> On Fri, Sep 28, 2018 at 10:36 AM Just van Rossum <justvanrossum at gmail.com> wrote:
> Following up to this: it seems line 1832 in py2app/build_app.py isn’t correct anymore, with Python 3 venv behavior:
> 
>         if os.path.exists(os.path.join(sys.prefix, ".Python")):
> 
> Not sure how to fix it. If I force this code path to be taken, I get an AttributeError on sys.real_prefix, so I guess a bit more needs to be done.
> 
> Use py2app via setup.py.

That’s exactly what I do...

Just



More information about the Pythonmac-SIG mailing list