I'm not sure.<div><br></div><div>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.<div>
<br></div><div>Just thinking out loud really!<br><br>On Saturday, 23 November 2013, Manuel Quiñones wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to test SimpleActivity inside Browse. To solve maintaining<br>
the files of the library, I'm adding it as a git module:<br>
<br>
git submodule add git://<a href="http://git.sugarlabs.org/simpleactivity/mainline.git" target="_blank">git.sugarlabs.org/simpleactivity/mainline.git</a><br>
simpleactivity<br>
<br>
But seems that our setup.py install command doesn't support git<br>
submodules. Do we agree this is a bug that deserves a ticket?<br>
<br>
------<br>
<br>
[osbuild sugar-build]$ run<br>
<br>
= Building =<br>
<br>
* Building browse<br>
<br>
[osbuild sugar-build]$ run<br>
<br>
= Building =<br>
<br>
* Building browse<br>
<br>
Command failed: python /home/broot/sugar-build/browse/setup.py install<br>
--prefix /home/broot/sugar-build/build/out/install<br>
<br>
Install /home/broot/sugar-build/browse/data/index.html to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/index.html.<br>
Install /home/broot/sugar-build/browse/po/da.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/da.po.<br>
Install /home/broot/sugar-build/browse/locale/rw/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/rw/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/ml/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/ml/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/po/cy.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/cy.po.<br>
Install /home/broot/sugar-build/browse/locale/sd/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/sd/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/th/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/th/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/bs/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/bs/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/po/ro.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ro.po.<br>
Install /home/broot/sugar-build/browse/po/pbs.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/pbs.po.<br>
Install /home/broot/sugar-build/browse/webtoolbar.py to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/webtoolbar.py.<br>
Install /home/broot/sugar-build/browse/po/te.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/te.po.<br>
Install /home/broot/sugar-build/browse/locale/es/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/es/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/de/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/de/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/yo/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/yo/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/sv/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/sv/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/po/cs.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/cs.po.<br>
Install /home/broot/sugar-build/browse/po/bi.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/bi.po.<br>
Install /home/broot/sugar-build/browse/po/mr.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/mr.po.<br>
Install /home/broot/sugar-build/browse/locale/si/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/si/activity.linfo.<br>
Install /home/broot/sugar-build/browse/po/sw.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/sw.po.<br>
Install /home/broot/sugar-build/browse/locale/ur/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/ur/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/tzm/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/tzm/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/sk/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/sk/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/mr/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/mr/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/or/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/or/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/webactivity.py to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/webactivity.py.<br>
Install /home/broot/sugar-build/browse/locale/mg/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/mg/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/po/Web.pot to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/Web.pot.<br>
Install /home/broot/sugar-build/browse/data/logo_white_11.png to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/logo_white_11.png.<br>
Install /home/broot/sugar-build/browse/icons/browse-follow-link-new-tab.svg<br>
to /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/icons/browse-follow-link-new-tab.svg.<br>
Install /home/broot/sugar-build/browse/locale/nb/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/nb/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/widgets.py to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/widgets.py.<br>
Install /home/broot/sugar-build/browse/locale/ig/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/ig/activity.linfo.<br>
Install /home/broot/sugar-build/browse/po/ja.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ja.po.<br>
Install /home/broot/sugar-build/browse/locale/sv/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/sv/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/be@latin/activity.linfo<br>
to /home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/be@latin/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/fa/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/fa/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/pt_BR/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/pt_BR/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/pt/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/pt/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/sm/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/sm/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/en_GB/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/en_GB/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/el/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/el/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/po/pt.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/pt.po.<br>
Install /home/broot/sugar-build/browse/locale/si/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/si/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/po/pa.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/pa.po.<br>
Install /home/broot/sugar-build/browse/po/pl.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/pl.po.<br>
Install /home/broot/sugar-build/browse/po/kos.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/kos.po.<br>
Install /home/broot/sugar-build/browse/locale/be@latin/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/be@latin/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/data/logo_white_01.png to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/logo_white_01.png.<br>
Install /home/broot/sugar-build/browse/locale/or/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/or/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/hy/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/hy/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/wo/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/wo/activity.linfo.<br>
Install /home/broot/sugar-build/browse/po/fa.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/fa.po.<br>
Install /home/broot/sugar-build/browse/locale/mi/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/mi/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/data/logo_white_12.png to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/logo_white_12.png.<br>
Install /home/broot/sugar-build/browse/locale/ha/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/ha/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/niu/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/niu/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/po/sv.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/sv.po.<br>
Install /home/broot/sugar-build/browse/locale/zh_TW/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/zh_TW/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/be/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/be/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/quz/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/quz/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/rw/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/rw/activity.linfo.<br>
Install /home/broot/sugar-build/browse/locale/ca/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/ca/activity.linfo.<br>
Install /home/broot/sugar-build/browse/po/ak.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ak.po.<br>
Install /home/broot/sugar-build/browse/locale/sw/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/sw/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/data/logo_white_05.png to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/data/logo_white_05.png.<br>
Install /home/broot/sugar-build/browse/locale/mi/activity.linfo to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/locale/mi/activity.linfo.<br>
Install /home/broot/sugar-build/browse/po/is.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/is.po.<br>
Install /home/broot/sugar-build/browse/po/tvl.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/tvl.po.<br>
Install /home/broot/sugar-build/browse/po/ml.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ml.po.<br>
Install /home/broot/sugar-build/browse/locale/pbs/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/pbs/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/tzo/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/tzo/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/locale/quz/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/quz/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/browse/po/nah.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/nah.po.<br>
Install /home/broot/sugar-build/browse/po/ko.po to<br>
/home/broot/sugar-build/build/out/install/share/sugar/activities/Browse.activity/po/ko.po.<br>
Install /home/broot/sugar-build/browse/locale/te/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a><br>
to /home/broot/sugar-build/build/out/install/share/locale/te/LC_MESSAGES/<a href="http://org.laptop.WebActivity.mo" target="_blank">org.laptop.WebActivity.mo</a>.<br>
Install /home/broot/sugar-build/brows<br>
<br>
--<br>
.. manuq ..<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Sugar-devel@lists.sugarlabs.org')">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div></div><br><br>-- <br>Daniel Narvaez<br><br>