* [devel] gpsd: python3-module-pygobject
@ 2019-10-20 11:42 Sergey Y. Afonin
2019-10-20 12:19 ` Антон Мидюков
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Y. Afonin @ 2019-10-20 11:42 UTC (permalink / raw)
To: devel
Приветствую.
Что-то у меня какое-то недопонимание. При сборке пакета выдаётся
такое вот предупреждение (с python 2, с которым сейчас собрано в
Sisyphus, на самом деле аналогично):
WARNING: Python module pygobject not found.
xgps and xgpsspeed will not be installed
python3-module-pygobject установлен. При этом проверка выглядит
вот так в SConstruct:
# check for pygobject
try:
imp.find_module('gi')
except ImportError:
# no pycairo, don't build xgps, xgpsspeed
announce("WARNING: Python module pygobject not found.\n"
" xgps and xgpsspeed will not be installed")
env['xgps'] = False
Комментарий тут явно с ошибкой, pycairo чуть раньше проверяется. А вот
с pygobject что и почему проверяется модуль gi на самом деле? Я модуля
python3-module-gi не вижу. Но в коде xgps и xgpsspeed хотят gi, а не
pygobject:
# Gtk3 imports. Gtk3 requires the require_version(), which then causes
# pylint to complain about the subsequent "non-top" imports.
import gi
На https://pygobject.readthedocs.io/en/latest/guide/api/api.html пишут,
что gi c pygobject действительно связан. Я с Питоном сильно на Вы, потому
что делать, не очень понятно. У нас как-то не так module-pygobject собран?
--
С уважением, Сергей Афонин
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] gpsd: python3-module-pygobject
2019-10-20 11:42 [devel] gpsd: python3-module-pygobject Sergey Y. Afonin
@ 2019-10-20 12:19 ` Антон Мидюков
2019-10-20 15:47 ` Sergey Y. Afonin
0 siblings, 1 reply; 3+ messages in thread
From: Антон Мидюков @ 2019-10-20 12:19 UTC (permalink / raw)
To: devel
20.10.2019 18:42, Sergey Y. Afonin пишет:
> Приветствую.
>
> Что-то у меня какое-то недопонимание. При сборке пакета выдаётся
> такое вот предупреждение (с python 2, с которым сейчас собрано в
> Sisyphus, на самом деле аналогично):
>
> WARNING: Python module pygobject not found.
> xgps and xgpsspeed will not be installed
>
> python3-module-pygobject установлен. При этом проверка выглядит
> вот так в SConstruct:
>
> # check for pygobject
> try:
> imp.find_module('gi')
> except ImportError:
> # no pycairo, don't build xgps, xgpsspeed
> announce("WARNING: Python module pygobject not found.\n"
> " xgps and xgpsspeed will not be installed")
> env['xgps'] = False
>
> Комментарий тут явно с ошибкой, pycairo чуть раньше проверяется. А вот
> с pygobject что и почему проверяется модуль gi на самом деле? Я модуля
> python3-module-gi не вижу.
python3-module-pygobject3 провайдит python3(gi)
> Но в коде xgps и xgpsspeed хотят gi, а не
> pygobject:
>
> # Gtk3 imports. Gtk3 requires the require_version(), which then causes
> # pylint to complain about the subsequent "non-top" imports.
> import gi
>
> На https://pygobject.readthedocs.io/en/latest/guide/api/api.html пишут,
> что gi c pygobject действительно связан. Я с Питоном сильно на Вы, потому
> что делать, не очень понятно. У нас как-то не так module-pygobject собран?
>
--
С уважением, Антон Мидюков <antohami@altlinux.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] gpsd: python3-module-pygobject
2019-10-20 12:19 ` Антон Мидюков
@ 2019-10-20 15:47 ` Sergey Y. Afonin
0 siblings, 0 replies; 3+ messages in thread
From: Sergey Y. Afonin @ 2019-10-20 15:47 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Sunday 20 October 2019, Антон Мидюков wrote:
>> Я модуля python3-module-gi не вижу.
> python3-module-pygobject3 провайдит python3(gi)
Спасибо, вроде получилось.
--
С уважением, Сергей Афонин
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-20 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20 11:42 [devel] gpsd: python3-module-pygobject Sergey Y. Afonin
2019-10-20 12:19 ` Антон Мидюков
2019-10-20 15:47 ` Sergey Y. Afonin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git