Re: [gentoo-user] Tk for Python

2003-11-20 Thread Stephen Boulet
Yes, but do you really need to include the "-e" flag? That would emerge 
everything in the world (no pun intended) that python requires.

On Thursday 20 November 2003 08:42 am, David Gethings wrote:
> Am I right in thinking that an 'emerge -e python' will recompile it -
> and include the tcltk support (as long as the USE flag is there that
> is!).
>
> Cheers
>
> Dg

-- 
Stephen  
  From here to there
 and there to here,
   funny things are everywhere.  -- Dr Seuss



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Tk for Python

2003-11-20 Thread David Gethings
On Thu, 2003-11-20 at 14:17, Stephen Boulet wrote:
> Python is built with tkinter by default if you have the "tcltk" use variable 
> (which will cause the latest version of tk to be emerged).
> 
> Try this:
> 
> $ python
> Python 2.3.2 (#1, Nov 19 2003, 07:54:28)
> [GCC 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Tkinter
> >>>
Thanks Steve.

Unfortunately I know that Tkinter wasn't built into Python. 'etcat -u
python' shows that the tcltk flag was not set when it was built.

Am I right in thinking that an 'emerge -e python' will recompile it -
and include the tcltk support (as long as the USE flag is there that
is!).

Cheers

Dg


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Tk for Python

2003-11-20 Thread Stephen Boulet
Python is built with tkinter by default if you have the "tcltk" use variable 
(which will cause the latest version of tk to be emerged).

Try this:

$ python
Python 2.3.2 (#1, Nov 19 2003, 07:54:28)
[GCC 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>>

Since no warning was generated, Tkinter is there.


On Tuesday 18 November 2003 10:42 am, David Gethings wrote:
> Hi,
>
> I'm looking for the Tkinter lib for Python. So far my 'emerge search's
> have not born any fruit. Does anyone know what ebuild this lib is in. Is
> it even in an ebuild?
>
> Yes I have done an 'emerge sync' within the last 24 hours.
>
> Cheers
>
> Dg
>
>
> --
> [EMAIL PROTECTED] mailing list

-- 
Stephen  
  From here to there
 and there to here,
   funny things are everywhere.  -- Dr Seuss



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Tk for Python

2003-11-18 Thread David Gethings
On Tue, 2003-11-18 at 17:30, Mike Williams wrote:
> I think you need to set the tcltk USE variable for it to be built along with 
> python
> USE=tcltk emerge python
I'll check that when I get home.

Cheers

Dg


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Tk for Python

2003-11-18 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 18 November 2003 17:20, David Gethings wrote:
> Odd that there is no ebuild for Tkinter. As far as I am aware it is
> practially considered core to Python.

I think you need to set the tcltk USE variable for it to be built along with 
python
USE=tcltk emerge python

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/uldPInuLMrk7bIwRAgkwAJ9jhSCHIx2VLAE+276JZnn7K/zC6QCfYT37
aAeA6zWcxwZO8KoaE8ys6mM=
=jqYK
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Tk for Python

2003-11-18 Thread David Gethings
On Tue, 2003-11-18 at 16:49, Jeffrey Smelser wrote:
> Opps. my mistake.. I should have read it better.. There isn't one.. :)
> 
> Let me crawl back in my hole..
> 
> > http://packages.gentoo.org/search/?sstring=Tkinter
> > 
> > Most things python, are in dev-python.. 
Thanks Jeffery. You've managed to get further than I had. Wasn't aware
of the web interface. I shall use it in the future.

Odd that there is no ebuild for Tkinter. As far as I am aware it is
practially considered core to Python.

Cheers

Dg


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Tk for Python

2003-11-18 Thread Jeffrey Smelser
Opps. my mistake.. I should have read it better.. There isn't one.. :)

Let me crawl back in my hole..

> http://packages.gentoo.org/search/?sstring=Tkinter
> 
> Most things python, are in dev-python.. 
> 
> > Hi,
> > 
> > I'm looking for the Tkinter lib for Python. So far my 
> 'emerge search's
> > have not born any fruit. Does anyone know what ebuild this 
> > lib is in. Is
> > it even in an ebuild?
> > 
> > Yes I have done an 'emerge sync' within the last 24 hours.

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Tk for Python

2003-11-18 Thread Jeffrey Smelser
http://packages.gentoo.org/search/?sstring=Tkinter

Most things python, are in dev-python.. 

> Hi,
> 
> I'm looking for the Tkinter lib for Python. So far my 'emerge search's
> have not born any fruit. Does anyone know what ebuild this 
> lib is in. Is
> it even in an ebuild?
> 
> Yes I have done an 'emerge sync' within the last 24 hours.

--
[EMAIL PROTECTED] mailing list