Building from sources on Windows 64-bit--missing runtests-windows.py

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Building from sources on Windows 64-bit--missing runtests-windows.py

David T Pitchford
I am trying to build PyGTK 2.24 from source on Windows 7 (64-bit) to apply the workaround for this bug: https://bugzilla.gnome.org/show_bug.cgi?id=660659

I have all the dependancies installed, but when I run the final build command on MSYS, it exits with the last few lines:

running build_scripts
creating build\scripts-2.7
copying pygtk_postinstall.py -> build\scripts-2.7
running bdist_wininst
installing to build\bdist.win32\wininst
running install_lib
creating build\bdist.win32
creating build\bdist.win32\wininst
creating build\bdist.win32\wininst\PLATLIB
creating build\bdist.win32\wininst\PLATLIB\gtk-2.0
creating build\bdist.win32\wininst\PLATLIB\gtk-2.0\tests
creating build\bdist.win32\wininst\PLATLIB\gtk-2.0\tests\pygtk
error: can't copy 'tests\runtests-windows.py': doesn't exist or not a regular file

I'm not sure what file tests\runtests-windows.py it's talking about or why I don't have it. A quick Windows explorer search reveals it isn't anywhere in the unpacked pygtk-2.24 folder. What should I do?

--
David Pitchford
GID: 462974

_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Reply | Threaded
Open this post in threaded view
|

Re: Building from sources on Windows 64-bit--missing runtests-windows.py

Dieter Verfaillie-2
On 2013-05-30 15:12, David T Pitchford wrote:
> I'm not sure what file testsruntests-windows.py it's talking about or
> why I don't have it.

https://git.gnome.org/browse/pygtk/tree/tests/runtests-windows.py?id=PYGTK_2_24_0

It seems it never got added to EXTRA_DIST in
https://git.gnome.org/browse/pygtk/tree/tests/Makefile.am?id=PYGTK_2_24_0
though (which is most likely my fault, sorry!), so that file
would be missing from generated source tarballs...

mvg,
Dieter

_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Reply | Threaded
Open this post in threaded view
|

Re: Building from sources on Windows 64-bit--missing runtests-windows.py

David T Pitchford
FYI: I also got the same error with common-windows.py, with the same fix. I now get the error:

removing 'build\bdist.win32\wininst' (and everything under it)
error removing build\bdist.win32\wininst: build\bdist.win32\wininst\PLATLIB\gtk-2.0: The directory is not empty
error removing build\bdist.win32\wininst: build\bdist.win32\wininst\PLATLIB: The directory is not empty
error removing build\bdist.win32\wininst: build\bdist.win32\wininst: The directory is not empty

The funny part is build\bdist.win32\wininst\PLATLIB\gtk-2.0 does appear to be empty after the script exits, though I can't tell when it becomes empty. (It previously appears to have had a copy of the tests directory in it)


On Thu, May 30, 2013 at 8:33 AM, Dieter Verfaillie <[hidden email]> wrote:
On 2013-05-30 15:12, David T Pitchford wrote:
I'm not sure what file testsruntests-windows.py it's talking about or

why I don't have it.

https://git.gnome.org/browse/pygtk/tree/tests/runtests-windows.py?id=PYGTK_2_24_0

It seems it never got added to EXTRA_DIST in
https://git.gnome.org/browse/pygtk/tree/tests/Makefile.am?id=PYGTK_2_24_0
though (which is most likely my fault, sorry!), so that file
would be missing from generated source tarballs...

mvg,
Dieter

_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/



--
David Pitchford
GID: 462974

_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Reply | Threaded
Open this post in threaded view
|

Re: Building from sources on Windows 64-bit--missing runtests-windows.py

David T Pitchford
UPDATE: It randomly deleted the directories fine on a subsequent run. It seems to work if I copy the contents of the build/libwin32-2.7 directory into my site-packages directory. Is this correct?


On Thu, May 30, 2013 at 9:13 AM, David T Pitchford <[hidden email]> wrote:
FYI: I also got the same error with common-windows.py, with the same fix. I now get the error:

removing 'build\bdist.win32\wininst' (and everything under it)
error removing build\bdist.win32\wininst: build\bdist.win32\wininst\PLATLIB\gtk-2.0: The directory is not empty
error removing build\bdist.win32\wininst: build\bdist.win32\wininst\PLATLIB: The directory is not empty
error removing build\bdist.win32\wininst: build\bdist.win32\wininst: The directory is not empty

The funny part is build\bdist.win32\wininst\PLATLIB\gtk-2.0 does appear to be empty after the script exits, though I can't tell when it becomes empty. (It previously appears to have had a copy of the tests directory in it)


On Thu, May 30, 2013 at 8:33 AM, Dieter Verfaillie <[hidden email]> wrote:
On 2013-05-30 15:12, David T Pitchford wrote:
I'm not sure what file testsruntests-windows.py it's talking about or

why I don't have it.

https://git.gnome.org/browse/pygtk/tree/tests/runtests-windows.py?id=PYGTK_2_24_0

It seems it never got added to EXTRA_DIST in
https://git.gnome.org/browse/pygtk/tree/tests/Makefile.am?id=PYGTK_2_24_0
though (which is most likely my fault, sorry!), so that file
would be missing from generated source tarballs...

mvg,
Dieter

_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/



--
David Pitchford
GID: 462974



--
David Pitchford
GID: 462974

_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/