[Sugar-devel] setup.py install and git submodules
Daniel Narvaez
dwnarvaez at gmail.com
Sat Nov 23 16:28:24 EST 2013
I'm not sure.
I think we shouldn't refuse a patch that does that but before investing
time in writing one I wonder if it would be better to research a bit the
direction we should take worth code sharing... I think pypi is not as nice
as npm, though I wonder if it would be better than using submodules,
because dependencies seems like a fundemental feature... Of course you
could do submodules + our own dependencies thing but... It seems like we
should adopt something the python community already uses here, both because
it makes external libraries available and because it's not trivial to write.
Just thinking out loud really!
On Saturday, 23 November 2013, Manuel Quiñones wrote:
> Hi,
>
> I'm trying to test SimpleActivity inside Browse. To solve maintaining
> the files of the library, I'm adding it as a git module:
>
> git submodule add git://git.sugarlabs.org/simpleactivity/mainline.git
> simpleactivity
>
> But seems that our setup.py install command doesn't support git
> submodules. Do we agree this is a bug that deserves a ticket?
>
> ------
>
> [osbuild sugar-build]$ run
>
> = Building =
>
> * Building browse
>
> [osbuild sugar-build]$ run
>
> = Building =
>
> * Building browse
>
> Command failed: python /home/broot/sugar-build/browse/setup.py install
> --prefix /home/broot/sugar-build/build/out/install
>
> Install /home/broot/sugar-build/browse/data/index.html to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/index.html.
> Install /home/broot/sugar-build/browse/po/da.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/da.po.
> Install /home/broot/sugar-build/browse/locale/rw/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/rw/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/ml/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/ml/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/po/cy.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/cy.po.
> Install /home/broot/sugar-build/browse/locale/sd/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/sd/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/th/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/th/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/bs/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/bs/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/po/ro.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ro.po.
> Install /home/broot/sugar-build/browse/po/pbs.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/pbs.po.
> Install /home/broot/sugar-build/browse/webtoolbar.py to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/webtoolbar.py.
> Install /home/broot/sugar-build/browse/po/te.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/te.po.
> Install /home/broot/sugar-build/browse/locale/es/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/es/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/de/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/de/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/yo/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/yo/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/sv/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/sv/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/po/cs.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/cs.po.
> Install /home/broot/sugar-build/browse/po/bi.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/bi.po.
> Install /home/broot/sugar-build/browse/po/mr.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/mr.po.
> Install /home/broot/sugar-build/browse/locale/si/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/si/activity.linfo.
> Install /home/broot/sugar-build/browse/po/sw.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/sw.po.
> Install /home/broot/sugar-build/browse/locale/ur/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/ur/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/tzm/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/tzm/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/sk/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/sk/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/mr/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/mr/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/or/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/or/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/webactivity.py to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/webactivity.py.
> Install /home/broot/sugar-build/browse/locale/mg/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/mg/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/po/Web.pot to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/Web.pot.
> Install /home/broot/sugar-build/browse/data/logo_white_11.png to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/logo_white_11.png.
> Install /home/broot/sugar-build/browse/icons/browse-follow-link-new-tab.svg
> to
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/icons/browse-follow-link-new-tab.svg.
> Install /home/broot/sugar-build/browse/locale/nb/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/nb/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/widgets.py to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/widgets.py.
> Install /home/broot/sugar-build/browse/locale/ig/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/ig/activity.linfo.
> Install /home/broot/sugar-build/browse/po/ja.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ja.po.
> Install /home/broot/sugar-build/browse/locale/sv/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/sv/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/be at latin/activity.linfo
> to
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/be at latin
> /activity.linfo.
> Install /home/broot/sugar-build/browse/locale/fa/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/fa/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/pt_BR/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/pt_BR/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/pt/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/pt/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/sm/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/sm/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/en_GB/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/en_GB/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/el/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/el/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/po/pt.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/pt.po.
> Install /home/broot/sugar-build/browse/locale/si/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/si/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/po/pa.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/pa.po.
> Install /home/broot/sugar-build/browse/po/pl.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/pl.po.
> Install /home/broot/sugar-build/browse/po/kos.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/kos.po.
> Install /home/broot/sugar-build/browse/locale/be at latin/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/be at latin
> /LC_MESSAGES/org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/data/logo_white_01.png to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/logo_white_01.png.
> Install /home/broot/sugar-build/browse/locale/or/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/or/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/hy/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/hy/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/wo/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/wo/activity.linfo.
> Install /home/broot/sugar-build/browse/po/fa.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/fa.po.
> Install /home/broot/sugar-build/browse/locale/mi/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/mi/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/data/logo_white_12.png to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/logo_white_12.png.
> Install /home/broot/sugar-build/browse/locale/ha/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/ha/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/niu/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/niu/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/po/sv.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/sv.po.
> Install /home/broot/sugar-build/browse/locale/zh_TW/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to
> /home/broot/sugar-build/build/out/install/share/locale/zh_TW/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/be/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/be/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/quz/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/quz/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/rw/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/rw/activity.linfo.
> Install /home/broot/sugar-build/browse/locale/ca/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/ca/activity.linfo.
> Install /home/broot/sugar-build/browse/po/ak.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ak.po.
> Install /home/broot/sugar-build/browse/locale/sw/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/sw/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/data/logo_white_05.png to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/logo_white_05.png.
> Install /home/broot/sugar-build/browse/locale/mi/activity.linfo to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/mi/activity.linfo.
> Install /home/broot/sugar-build/browse/po/is.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/is.po.
> Install /home/broot/sugar-build/browse/po/tvl.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/tvl.po.
> Install /home/broot/sugar-build/browse/po/ml.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ml.po.
> Install /home/broot/sugar-build/browse/locale/pbs/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/pbs/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/tzo/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/tzo/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/locale/quz/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/quz/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/browse/po/nah.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/nah.po.
> Install /home/broot/sugar-build/browse/po/ko.po to
>
> /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ko.po.
> Install /home/broot/sugar-build/browse/locale/te/LC_MESSAGES/
> org.laptop.WebActivity.mo
> to /home/broot/sugar-build/build/out/install/share/locale/te/LC_MESSAGES/
> org.laptop.WebActivity.mo.
> Install /home/broot/sugar-build/brows
>
> --
> .. manuq ..
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org <javascript:;>
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131123/87125b4e/attachment-0001.html>
More information about the Sugar-devel
mailing list