[pygtk] Pygtk and Windows... how to build for release?
Stuart Axon
stuaxo2 at yahoo.com
Mon Jan 11 07:52:40 WST 2010
Ooops, immediately after found your one:
http://github.com/nzjrs/pygobject/blob/master-windows/
----- Original Message ----
From: Stuart Axon <stuaxo2 at yahoo.com>
To: John Stowers <john.stowers.lists at gmail.com>
Cc: pygtk at daa.com.au
Sent: Sun, January 10, 2010 11:51:23 PM
Subject: Re: [pygtk] Pygtk and Windows... how to build for release?
So for gobject, is it worth starting with this branch with windows build fixes:
http://git.codethink.co.uk/?p=pygobject;a=summary
?
----- Original Message ----
From: John Stowers <john.stowers.lists at gmail.com>
To: Stuart Axon <stuaxo2 at yahoo.com>
Cc: pygtk at daa.com.au
Sent: Sun, January 10, 2010 11:24:19 PM
Subject: Re: [pygtk] Pygtk and Windows... how to build for release?
On Sun, 2010-01-10 at 14:49 -0800, Stuart Axon wrote:
> Is your branch the branch here:
> http://github.com/nzjrs/pygtk
> ?
Yes
>
> git clone git://github.com/nzjrs/pygtk.git
>
> gives me an empty pygtk directory...
This is because my work is not in the master branch, so the (default)
checkout of master, after the clone, fails.
>
>
> Still very new at git.
note: I did this last night and it merged fine, but I did't bother
pushing anything because I could not even build test it. This is what
you need to do (small mistakes might be here, I am doing this from
memory)
# checkout gnome version of pygtk
git clone url/of/gnome/pygtk
cd pygtk
# add my repository
git remote add john git://github.com/nzjrs/pygtk.git
git fetch john
# create a branch for you to work in. This is initially identical to my
# branch
git checkout -b my-work john/master-windows
# merge master into your new branch
get merge origin master
That should get you going, same steps apply for pygobject (which you
need to do first)
John
>
>
>
> ----- Original Message ----
> From: John Stowers <john.stowers.lists at gmail.com>
> To: Stuart Axon <stuaxo2 at yahoo.com>
> Cc: pygtk at daa.com.au
> Sent: Sat, January 9, 2010 5:44:33 PM
> Subject: Re: [pygtk] Pygtk and Windows... how to build for release?
>
> On Sat, 2010-01-09 at 09:39 -0800, Stuart Axon wrote:
> > Hi,
> > I'd like to have a go at building PyGtk for Windows. And doing whats necessary to build an official version. I've installed Visual Studio express 2008, and have the latest PyGtk from Git.
>
> Check out
>
> https://bugzilla.gnome.org/show_bug.cgi?id=589671
>
> I got this working fine on windows a few months ago - using the
> distutils build system.
>
> I suggest you update my branch against master and then tell distutils to
> build using the VC compiler.
>
> John
>
>
>
More information about the pygtk
mailing list