[GRASS-dev] Re: GRASS-dev] New wxPython GUI

On Feb 27, 2008, at 9:09 AM, grass-dev-request@lists.osgeo.org wrote:

Date: Wed, 27 Feb 2008 17:06:29 +0100
From: <marco.pasetti@alice.it>
Subject: [GRASS-dev] New wxPython GUI
To: <grass-dev@lists.osgeo.org>
Message-ID: <FBCMMO026xJa4XMbIMT00030709@FBCMMO02.fbc.local>
Content-Type: text/plain; charset="iso-8859-1"

Sorry,

I'm really confused:

Marco,

Maybe we've already answered this, but if not, I'll give it a go.

1) do I need to enable both Python and wxPython to let the new GRASS GUI work? or do I need only to enable wx-widgets?

For the GUI to work, you don't need to enable either of these. They are only for compiling the in-development wxPython digitizer, vdigit. All the rest of the GUI will work without this, since the wxPython part are just ASCII python script files that get copied from source to $GISBASE/etc/wxpython.

2) about the second case: basing on the fact that I need Python installed to let wxPython work, how could I set them if I use a prebuilt installer for GRASS while I must compile wxPython by myself (because the prebuilt installer doesn't come with the needed wx-config file)?

Just install the prebuilt binaries for Python AND for wxPython. They are from different sites. No need to compile either.

The binaries for the main wxPython package for Windows is at <Download wxPython2.8-win32-unicode-2.8.7.1-py25.exe (wxPython) >

If you also want the wxPython dev package for Windows, get them at <http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-devel-2.8.7.1.tar.bz2 >.

I hope this clarifies things.

MIchael

Sorry guys,

I really did a huge mess!!!
Now it’s all clear! excuse me!

So, I repeat just to be clear at all (to me :-))

  1. install prebuilt binaries of Python 2.5.2 (latest) in C:\DevTools\Python
  2. install prebuilt binaries of wxPython 2.8.7.1 (latest) in C:\DevTools\Python\Lib\site-packages (as suggested by installer)
  3. configure GRASS as I always do
  4. make and make install from grass source tree
  5. cd ./gui/wxpython and run make and make install ?

Thanks

Marco


Da: grass-dev-bounces@lists.osgeo.org per conto di Michael Barton
Inviato: mer 27/02/2008 17.18
A: grass-dev@lists.osgeo.org
Oggetto: [GRASS-dev] Re: GRASS-dev] New wxPython GUI

On Feb 27, 2008, at 9:09 AM, grass-dev-request@lists.osgeo.org wrote:

Date: Wed, 27 Feb 2008 17:06:29 +0100
From: marco.pasetti@alice.it
Subject: [GRASS-dev] New wxPython GUI
To: grass-dev@lists.osgeo.org
Message-ID: FBCMMO026xJa4XMbIMT00030709@FBCMMO02.fbc.local
Content-Type: text/plain; charset=“iso-8859-1”

Sorry,

I’m really confused:

Marco,

Maybe we’ve already answered this, but if not, I’ll give it a go.

  1. do I need to enable both Python and wxPython to let the new GRASS
    GUI work? or do I need only to enable wx-widgets?

For the GUI to work, you don’t need to enable either of these. They
are only for compiling the in-development wxPython digitizer, vdigit.
All the rest of the GUI will work without this, since the wxPython
part are just ASCII python script files that get copied from source to
$GISBASE/etc/wxpython.

  1. about the second case: basing on the fact that I need Python
    installed to let wxPython work, how could I set them if I use a
    prebuilt installer for GRASS while I must compile wxPython by myself
    (because the prebuilt installer doesn’t come with the needed wx-
    config file)?

Just install the prebuilt binaries for Python AND for wxPython. They
are from different sites. No need to compile either.

The binaries for the main wxPython package for Windows is at <http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.7.1-py25.exe

If you also want the wxPython dev package for Windows, get them at <http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-devel-2.8.7.1.tar.bz2

.

I hope this clarifies things.

MIchael


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Ciao,

2008/2/27, marco.pasetti@alice.it <marco.pasetti@alice.it>:

5) cd ./gui/wxpython and run make and make install ?

this is done when you run make in the root source code directory. You
don't to run make here manually.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

On Feb 27, 2008, at 9:35 AM, <marco.pasetti@alice.it> wrote:

Sorry guys,

I really did a huge mess!!!
Now it’s all clear! excuse me!

So, I repeat just to be clear at all (to me :-))

  1. install prebuilt binaries of Python 2.5.2 (latest) in C:\DevTools\Python
  2. install prebuilt binaries of wxPython 2.8.7.1 (latest) in C:\DevTools\Python\Lib\site-packages (as suggested by installer)
  3. configure GRASS as I always do
  4. make and make install from grass source tree

Yes

  1. cd ./gui/wxpython and run make and make install ?

No.

Michael

Thanks

Marco


Da: grass-dev-bounces@lists.osgeo.org per conto di Michael Barton
Inviato: mer 27/02/2008 17.18
A: grass-dev@lists.osgeo.org
Oggetto: [GRASS-dev] Re: GRASS-dev] New wxPython GUI

On Feb 27, 2008, at 9:09 AM, grass-dev-request@lists.osgeo.org wrote:

Date: Wed, 27 Feb 2008 17:06:29 +0100
From: <marco.pasetti@alice.it>
Subject: [GRASS-dev] New wxPython GUI
To: <grass-dev@lists.osgeo.org>
Message-ID: <FBCMMO026xJa4XMbIMT00030709@FBCMMO02.fbc.local>
Content-Type: text/plain; charset=“iso-8859-1”

Sorry,

I’m really confused:

Marco,

Maybe we’ve already answered this, but if not, I’ll give it a go.

  1. do I need to enable both Python and wxPython to let the new GRASS
    GUI work? or do I need only to enable wx-widgets?

For the GUI to work, you don’t need to enable either of these. They
are only for compiling the in-development wxPython digitizer, vdigit.
All the rest of the GUI will work without this, since the wxPython
part are just ASCII python script files that get copied from source to
$GISBASE/etc/wxpython.

  1. about the second case: basing on the fact that I need Python
    installed to let wxPython work, how could I set them if I use a
    prebuilt installer for GRASS while I must compile wxPython by myself
    (because the prebuilt installer doesn’t come with the needed wx-
    config file)?

Just install the prebuilt binaries for Python AND for wxPython. They
are from different sites. No need to compile either.

The binaries for the main wxPython package for Windows is at <http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.7.1-py25.exe

If you also want the wxPython dev package for Windows, get them at <http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-devel-2.8.7.1.tar.bz2

.

I hope this clarifies things.

MIchael


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

I would like to get myself up to date on the new wxPython GUI and I am
wondering whether the suggestions in gui/wxpython/README are up to date.
Fore example README says
GRASS GIS >= 6.3
Python >= 2.4
wxPython >= 2.8.1.1

but Marco talks about Python 2.5.2 and wxPython 2.8.7.1
(I have 2.4 and need to install wxPython - what should I get?)

README says you need to run make and install it, it is my understanding
that is not needed anymore ?

1 - INSTALLATION
Go to:
$ cd gui/wxpython
and run
$ make

Thank you,

Helena

On Wed, 2008-02-27 at 10:13 -0700, Michael Barton wrote:

On Feb 27, 2008, at 9:35 AM, <marco.pasetti@alice.it> wrote:

> Sorry guys,
>
> I really did a huge mess!!!
> Now it's all clear! excuse me!
>
> So, I repeat just to be clear at all (to me :-))
>
> 1) install prebuilt binaries of Python 2.5.2 (latest) in C:\DevTools
> \Python
> 2) install prebuilt binaries of wxPython 2.8.7.1 (latest) in C:
> \DevTools\Python\Lib\site-packages (as suggested by installer)
> 3) configure GRASS as I always do
> 4) make and make install from grass source tree

Yes

> 5) cd ./gui/wxpython and run make and make install ?

No.

Michael

>
> Thanks
>
> Marco
>
>
> ____________________________________________________________________
> Da: grass-dev-bounces@lists.osgeo.org per conto di Michael Barton
> Inviato: mer 27/02/2008 17.18
> A: grass-dev@lists.osgeo.org
> Oggetto: [GRASS-dev] Re: GRASS-dev] New wxPython GUI
>
>
>
>
> On Feb 27, 2008, at 9:09 AM, grass-dev-request@lists.osgeo.org
> wrote:
>
> > Date: Wed, 27 Feb 2008 17:06:29 +0100
> > From: <marco.pasetti@alice.it>
> > Subject: [GRASS-dev] New wxPython GUI
> > To: <grass-dev@lists.osgeo.org>
> > Message-ID: <FBCMMO026xJa4XMbIMT00030709@FBCMMO02.fbc.local>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Sorry,
> >
> > I'm really confused:
>
> Marco,
>
> Maybe we've already answered this, but if not, I'll give it a go.
>
> >
> >
> > 1) do I need to enable both Python and wxPython to let the new
> GRASS
> > GUI work? or do I need only to enable wx-widgets?
>
> For the GUI to work, you don't need to enable either of these. They
> are only for compiling the in-development wxPython digitizer,
> vdigit.
> All the rest of the GUI will work without this, since the wxPython
> part are just ASCII python script files that get copied from source
> to
> $GISBASE/etc/wxpython.
>
>
> >
> >
> > 2) about the second case: basing on the fact that I need Python
> > installed to let wxPython work, how could I set them if I use a
> > prebuilt installer for GRASS while I must compile wxPython by
> myself
> > (because the prebuilt installer doesn't come with the needed wx-
> > config file)?
>
> Just install the prebuilt binaries for Python AND for wxPython.
> They
> are from different sites. No need to compile either.
>
> The binaries for the main wxPython package for Windows is at
> <http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.7.1-py25.exe
> >
>
> If you also want the wxPython dev package for Windows, get them at
> <http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-devel-2.8.7.1.tar.bz2
> >.
>
> I hope this clarifies things.
>
> MIchael
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
>
>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Hi,

2008/3/17, Helena Mitasova <hmitaso@unity.ncsu.edu>:

I would like to get myself up to date on the new wxPython GUI and I am
wondering whether the suggestions in gui/wxpython/README are up to date.
Fore example README says
  GRASS GIS >= 6.3
  Python >= 2.4
  wxPython >= 2.8.1.1

but Marco talks about Python 2.5.2 and wxPython 2.8.7.1
(I have 2.4 and need to install wxPython - what should I get?)

Python 2.4 and wxPython 2.8.1.1 should be enough. On my laptop I am
using Python 2.4 without any problems.

README says you need to run make and install it, it is my understanding
that is not needed anymore ?

1 - INSTALLATION
Go to:

$ cd gui/wxpython
and run
$ make

No, it is not need (see gui/Makefile). I will update README.

Best regards, Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *