UbuntuIRC / 2012 /12 /06 /#ubuntu-app-devel.txt
niansa
Initial commit
4aa5fce
[00:35] <mhall119> aquarius: I know almost nothing about DistUtilsExtra
[00:38] <aquarius> mhall119, this may be simple: the bit in setup.py which sets version number and so on, can I put code in there? Or is it parsed as text?
[00:40] <mhall119> aquarius: it's executed as python
[21:34] <aquarius> mhall119, would having a quickly template which contained a compiled executable be acceptable?
[21:35] <aquarius> mhall119, I have this idea that a quickly template for qml where you promise you're *only* going to use QML (and not add anything extra) might be a lot simpler than the existing one
[21:40] <aquarius> mhall119, so it'd ship with a tiny little exe which was hardcoded to load "myapp.qml" or something similar. But if you have to *compile* that little exe from source to use the template (not to *make* the template) then it's suddenly less cool again
[21:46] <mhall119> aquarius: what would be the benefit to that?
[21:46] <aquarius> mhall119, no python, so it's faster. you don't need the 1.8 million different python files that quickly template provides right now
[21:47] <mhall119> aquarius: I mean, why not have the executable's source in the template, and compile it?
[21:48] <aquarius> mhall119, because then "quickly run" is complicated and has compile stuff in it and involves C++ and compilers and might fail and will print a million complicated compilation messages that no-one cares about, and you need dev libraries and etc
[21:49] <aquarius> I don't think app developers should have to care about that. I mean, it's hard.
[21:50] <mhall119> aquarius: compile it on "quickly create"
[21:51] <aquarius> mhall119, it might fail
[21:51] <mhall119> why would it fail on create?
[21:51] <aquarius> I think it should be compiled and shipped in the distro as a binary :)
[21:52] <aquarius> becuas eyou might not have the right libraries. gcc might be set up wrong. Who knows why C stuff fails? Not having to care about that is why I use python ;)
[21:53] <mhall119> put the lib deps in your template's package so you know they're installed
[21:53] <aquarius> also, why would I want to compile it on quickly create? why not just ship a binary?
[21:53] <mhall119> so that you don't have to call your QML file "myapp.qml"
[21:54] <aquarius> personally I think Ubuntu should ship a binary called qml-runner and generated stuff should depend on it. :)
[21:54] <aquarius> haven't convinced everyone of that yet though
[21:54] <mhall119> you haven't written it yet either ;)
[21:54] <aquarius> 'cos I'd have to write it in C++. I'm prepared to put approximately as much work as I would spend writing it into convincing Saviq to write it instead. :P
[21:57] <mhall119> aquarius: you can maybe convince bobweaver in #ubuntu-tv to help you with that, if you really think it's a good idea
[21:57] <aquarius> mhall119, ooh good thought :)
[21:57] <mhall119> as long as you'll help get it packaged and submitted to Universe
[22:00] <aquarius> that's why I was going to talk to saviq
[22:00] <aquarius> :)
[22:10] <aquarius> can myapps depend on universe stuff?
[22:11] <mhall119> yes
[22:11] <mhall119> just not other myapps stuff
[22:17] <aquarius> kk