/srv/irclogs.ubuntu.com/2012/12/06/#ubuntu-app-devel.txt

mhall119aquarius: I know almost nothing about DistUtilsExtra00:35
aquariusmhall119, 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:38
mhall119aquarius: it's executed as python00:40
aquariusmhall119, would having a quickly template which contained a compiled executable be acceptable?21:34
aquariusmhall119, 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 one21:35
aquariusmhall119, 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 again21:40
mhall119aquarius: what would be the benefit to that?21:46
aquariusmhall119, no python, so it's faster. you don't need the 1.8 million different python files that quickly template provides right now21:46
mhall119aquarius: I mean, why not have the executable's source in the template, and compile it?21:47
aquariusmhall119, 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 etc21:48
aquariusI don't think app developers should have to care about that. I mean, it's hard.21:49
mhall119aquarius: compile it on "quickly create"21:50
aquariusmhall119, it might fail21:51
mhall119why would it fail on create?21:51
aquariusI think it should be compiled and shipped in the distro as a binary :)21:51
aquariusbecuas 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:52
mhall119put the lib deps in your template's package so you know they're installed21:53
aquariusalso, why would I want to compile it on quickly create? why not just ship a binary?21:53
mhall119so that you don't have to call your QML file "myapp.qml"21:53
aquariuspersonally I think Ubuntu should ship a binary called qml-runner and generated stuff should depend on it. :)21:54
aquariushaven't convinced everyone of that yet though21:54
mhall119you 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. :P21:54
mhall119aquarius: you can maybe convince bobweaver in #ubuntu-tv to help you with that, if you really think it's a good idea21:57
aquariusmhall119, ooh good thought :)21:57
mhall119as long as you'll help get it packaged and submitted to Universe21:57
aquariusthat's why I was going to talk to saviq22:00
aquarius:)22:00
aquariuscan myapps depend on universe stuff?22:10
mhall119yes22:11
mhall119just not other myapps stuff22:11
aquariuskk22:17

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!