Another advantage of pypi is that distros knows how to deal with it already. To be honest I don't think activities should be packaged like distro packages though in practice people are doing that.<br><br>On Saturday, 23 November 2013, Daniel Narvaez  wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> 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
--<br>
.. manuq ..<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a>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>
</blockquote><br><br>-- <br>Daniel Narvaez<br><br>