Eliminating X dependency from python

Scott Webster sewebster at gmail.com
Thu Jul 1 19:27:27 PDT 2010


On Thu, Jul 1, 2010 at 7:16 PM, Michael_google gmail_Gersten
<keybounce at gmail.com> wrote:
> So, two questions:

Looks like three questions!

> 1. Why is the default for a scripting language to bring in the entire
> gui system? Why isn't that a variant?

I think it wants to make IDLE work by default?

> 2. What's the proper way to check for surprises like that beforehand?
> (I'm finding out by repeating port echo leaves, port info leaves, sudo
> port uninstall leaves, and making notes of what to reinstall later.)

Well, port rdeps will tell you all the dependencies of a port
beforehand.  Also, port -y will perform a dry run, which I think
should tell you which of those dependencies you don't already have and
will therefore be installed.

> 3. For python, how do I specify "Give me command line scripting, no gui"?

The +no_tkinter variant should work.

Scott


More information about the macports-users mailing list