[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 3/3] gnu: Add python2-wxpython.
From: |
Danny Milosavljevic |
Subject: |
Re: [PATCH v2 3/3] gnu: Add python2-wxpython. |
Date: |
Mon, 31 Oct 2016 11:42:04 +0100 |
Hi,
wxPython bundles wxwidgets. That's why we cd to "wxPython/wxPython" in order to
avoid building it.
So wxPython as we build it requires wxwidgets as input.
But wxwidgets has multiple backends it supports, among them gtk. It should work
to just leave off the gtk dependency on wxPython - since wxPython itself
shouldn't require gtk.
The intention is that wxwidgets provides a backend-independent interface. I
think the same should be true about wxPython. I'll check it some more.
wxPython seems to use SWIG in order to generate Python bindings to the C++
classes of wxwidgets.
> I checked the references of the built package like this:
>
> $ guix gc --references $(./pre-inst-env guix build python2-wxpython)
> /gnu/store/1xfc2pwr7qfjib9kfy3n2hjq56z7jyjx-python-2.7.11
> /gnu/store/6njycb0nzbczqbzvcyn1vw5sg7xsaanr-python2-setuptools-18.3.1
> /gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib
> /gnu/store/a5xcl27fflh6ppysf5wrsfnn3ly2gyhy-python2-wxpython-3.0.2.0
> /gnu/store/fdlind5y49q37m1g1wsvx840q2scrp6x-wxwidgets-gtk2-3.0.2
> /gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23
> /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42
>
> assuming that wxPython needs these packages at run-time,
I think it doesn't.
It's easy to test it in a container which provides wxpython and python by
writing a small test program in it.
- Re: [PATCH 3/3] gnu: Add kicad., (continued)
- Re: [PATCH 3/3] gnu: Add kicad., Leo Famulari, 2016/10/25
- [PATCH v2 2/3] gnu: Add kicad., Theodoros Foradis, 2016/10/25
- [PATCH v2 3/3] gnu: Add python2-wxpython., Theodoros Foradis, 2016/10/25
- Re: [PATCH v2 3/3] gnu: Add python2-wxpython., Leo Famulari, 2016/10/25
- Re: [PATCH v2 3/3] gnu: Add python2-wxpython., Theodoros Foradis, 2016/10/25
- Re: [PATCH v2 3/3] gnu: Add python2-wxpython., Leo Famulari, 2016/10/29
- Re: [PATCH v2 3/3] gnu: Add python2-wxpython., Hartmut Goebel, 2016/10/30
- Re: [PATCH v2 3/3] gnu: Add python2-wxpython.,
Danny Milosavljevic <=
- Re: [PATCH v2 3/3] gnu: Add python2-wxpython., Danny Milosavljevic, 2016/10/31
- Re: [PATCH v2 3/3] gnu: Add python2-wxpython., Theodoros Foradis, 2016/10/25
- Re: [PATCH v2 3/3] gnu: Add python2-wxpython., Leo Famulari, 2016/10/25
- [PATCH v3 0/3] gnu: Add kicad., Theodoros Foradis, 2016/10/25
- [PATCH v3 1/3] gnu: Add wxwidgets-gtk2., Theodoros Foradis, 2016/10/25
- [PATCH v3 3/3] gnu: Add kicad., Theodoros Foradis, 2016/10/25
- Re: [PATCH v3 3/3] gnu: Add kicad., Leo Famulari, 2016/10/29
- [PATCH v3 2/2] gnu: Add python2-wxpython., Theodoros Foradis, 2016/10/25