> On Dec 21, 2017, at 9:34 AM, Ben Boeckel <ben.boec...@kitware.com> wrote:
> On Wed, Dec 20, 2017 at 22:50:50 +0000, Heiland, Randy wrote:
>> Ah, I see ‘os’ has been hijacked by PV. But something like this seems
>> to accomplish what I want, maybe…
>> Create a new module for PV:
>> /Applications/ParaView-5.4.1.app/Contents/Python$ more envs.py
>> import os
>> and then in the PV Python shell, the os.environ will indeed contain
>> this new env var.
> This can't be part of the package though since if it is installed
> globally, users may not have write access to the .app directory.
> It seems the way to do this is along these lines (in short, Apple isn't
> making what you want to do easy):
> There seems to have been something like `~/.launchd.conf` at some point
> and `~/.MacOSX/environment.plist` before that, but those has been
> deprecated and no longer work.
Thanks Ben. You’re right, of course. Moreover, my idea for having (non-admin)
users install additional Python modules (e.g., scipy) into PV’s dir, is a not
going to go well.
Do we at least agree that if I ask users to start PV from the Terminal, PV’s
Python will then pick up the user’s env vars?
-Randy (who’s really liking: “Step 1: Become an Admin” :)
Powered by www.kitware.com
Visit other Kitware open-source projects at
Please keep messages on-topic and check the ParaView Wiki at:
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe: