/srv/irclogs.ubuntu.com/2010/12/05/#ubuntu-artwork.txt

coz_hey all06:29
thorwildoctormo: i used some color coding in mockups, too. though, consider using black for the wireframes and blue for comments, as there's quite a tradition of doing so in illustration and printing11:44
thorwilnot to forget that black seems heavy and solid11:45
doctormothorwil: lots, how can I help you?17:20
thorwildoctormo: i have 2 argparser using cli scripts to install, called bgce.py and sizes.py17:21
thorwiland end up with 4 files in /usr/local/bin17:21
thorwildoctormo: http://stackoverflow.com/questions/4359553/how-to-install-python-cli-scripts-with-setuptools-without-duplicates17:22
=== zniavre is now known as mecduvar40ans
thorwilthe one answer is no solution, tried that twice already17:47
=== mecduvar40ans is now known as zniavre
doctormothorwil: Can you pastebin your setup.py please/17:50
thorwildoctormo: http://bazaar.launchpad.net/~t-w-/backtestground/backtestground/annotate/head%3A/setup.py17:52
doctormothorwil: there are a couple of things that don't look right17:53
thorwildoctormo: i followed docs/examples as far as i could, but it's my first setup.py, so no surprise17:55
doctormoI don't know why you should be using console_scripts, what does it do differently to scripts?17:55
doctormotypically you would put the py files in /usr/share/package_name and then sh scripts which call them in /usr/bin17:56
doctormoAnd what is in data_files? do you know?17:57
thorwildoctormo: yes. templates to be installed to the ~/Templates folder (i first check that it exists)17:58
doctormothorwil: You can't install things to /home, it's generally not allowed and besides it'll normally install to /root because setup is running as root.18:00
thorwildoctormo: all the entry_points examples i found so far use console_scripts18:00
thorwildoctormo: well, setup.py install needs sudo to install to /usr/local/bin already, so what's the problem with home? that part of the scripts does work fine18:01
doctormoIt's not considered sane, I'm surprised it works.18:02
thorwili don't see an alternative to direct installation to Templates :/18:02
doctormoWe don't have a good system of installing templates.18:03
thorwilnot even with a .deb?18:04
doctormoNot really, since you can't install things to /home18:04
thorwilguess the Template folder is a dumb design, then18:05
doctormoindeed18:05
thorwilif that label in entry_points reads 'console_scripts' or 'scripts' makes no difference.18:11
thorwildinner, bbl18:11
doctormothorwil: Take out the entry point stuff and just stick with scripts18:14
kwwiidoctormo: templates should go in example-content, which is linked in every home dir18:49
kwwiior?18:49
thorwilkwwii: Examples and Templates are not related in any way, afaict18:58
thorwildoctormo: ok, that works, thanks!19:04
thorwili guess the only thing i lose is windows and perhaps osx compatibility, but why bother19:05
doctormothorwil: True, depends if your targeting those and if you think someone else will come in and fill in that.19:15
doctormokwwii: We could do with a better system.19:15
thorwilone with system-wide templates in /usr/local/share, perhaps19:16
thorwiloh, and the filesytem should support i18n for filenames19:18
doctormothorwil: doesn't it do that already?19:19
thorwildoctormo: afaik folders like "Documents" and "Music" have to be renamed if you switch language19:20
doctormothorwil: They don't have to be.19:20
doctormoI'm very well versed in the XDG specification :-)19:20
doctormoin ~/.config/xdg-dirs.dirs you'll see the mapping, it comes from /etc/xdg/user-dirs.defaults19:21
doctormoThere is a po file which says what they're translated into if you want.19:22
doctormoAnd a service which is run on login to suggest renaming.19:22
doctormoI actually have my xdg-dirs customised, because I like my music to be in ~/Audio/Music and my pictures to be ~/Photographs19:22
thorwildoctormo: what i mean would be having a list of names for every file right on the filesystem level19:23
doctormoI don't understand19:24
thorwildoctormo: 'en', 'de', 'po_BR'  ... names per file19:24
thorwilpt_BR, even19:25
doctormoI'm sorry I still don't understand, could you explain more?19:25
thorwildoctormo: currently a file has just one name. it should have the option to have names per language19:26
doctormoOh, that's fancy, I don't know any fs that does that.19:27
thorwilthat way, a "Documents" folder would stay "Documents", but a user with lang=german would see "Dokumente"19:28
doctormoI see yes19:28
thorwilbah, bdist_rpm but no bdist_deb19:33
kwwiidoctormo: sorry for responding late... I actually think example-content is a perfect place19:34
kwwiias it doesn't copy the templates to everyones home dirs19:34
kwwiion one system, I mean19:34
kwwiiand really, it is example content19:34
kwwiiusuable good example content19:35
doctormothorwil: you got to use the python deb template, easy as pie19:35
kwwiidoctormo: but anyway, the system could be better, I agree19:35
kwwiigetting good templates would be a good first step :-)19:35
thorwilkwwii: my templates should appear in the "Create Document" menu. else, they could go wherever the user likes. most likely not Examples, seeing how anything else there is very different19:36
thorwilkwwii: i'm talking about the first 2 in http://bazaar.launchpad.net/~t-w-/backtestground/backtestground/files/head%3A/templates/19:37
kwwiithorwil: I was just trying to find a place in the home dir to link them to19:37
kwwiihonestly, it seems to me this stuff is example content19:38
kwwiiand can be linked as templates19:39
kwwiieverything else in example content can go :-)19:39
kwwiiI mean, the name alone describes what should be included19:39
kwwiialthough I guess they need to end up in the templates dir19:39
kwwiior such19:39
kwwiihas that issue been discussed yet?19:40
kwwiitemplates is in the xd spec I think19:40
kwwiixdg19:40
kwwiiso really there should be a package called templates or such which does the same thing as example-content19:41
kwwiior?19:41
thorwilkwwii: Templates is empty by default19:42
thorwilgnome people had discussions about putting empty files of the most common types there, but thos in charge said it would be up to admins or users themselves to put stuff there19:43
kwwiithorwil: that seems silly19:44
kwwiiI mean, for ubuntu that seems silly19:44
kwwiiI understand that gnome doesn't want to put stuff there by defailt19:44
kwwiidefault19:44
kwwiithat makes senses19:44
kwwiibut ubuntu sould19:44
kwwiishold19:44
kwwiialso, I can imagine that apps could include their own templates which would be installed in that dir19:45
thorwilthat's discouraged by those gnome people19:45
kwwiiit is something which has never worked in linux before because there were never good templates and too many differing file types which were not supported by enough apps19:45
thorwilso it would be something that only be dealt with in ubuntu specific packages19:46
kwwiithorwil: which gnome people did you talk to?19:46
kwwiithorwil: I know quite a few personally, so maybe I could clear some stuff up19:46
thorwilkwwii: i didn't, just followed the discussion and that was years ago19:46
thorwili don't recall the names19:47
kwwiiahh, in that case I would say it is time to re-investigate the possibilities :-)19:47
doctormoWhat are you after? a nautilus Create New template or something else?19:48
thorwildoctormo: i think Ken is after at least having a few items in there on an ubuntu default install19:48
kwwiiI can't hurt to think of some way to a) include a set of default templates and link them properly and b) allow apps to install templates, probably as an extra package which the user has to select19:48
thorwilanyway, i have a drawing.svg in there and that's damn convenient :)19:50
kwwiidoctormo: no, to give people a simple set of example files for a letter, a CV, a business letter, a couple presentations, etc...with instructions on the templates as to what is what19:50
kwwiithorwil's stuff is very specific, so it doesn't need instructions19:50
kwwiiit would land in the insckape make new file menu thingy19:51
thorwilkwwii: the Templates dir is for skeleton files, not so much examples19:51
kwwiihaving one space for all of those things would be killer19:51
kwwiiright now apps put them where they want19:51
kwwiithorwil: that is why I first wanted example content19:52
kwwiibut the files would be pretty bare-boned as we do not have the skills and people to write real help19:52
kwwiiwe could probably get people from all nations to help make a template for a business letter in their language though19:53
thorwilfree software needs a skilled clone army19:53
kwwiidoctormo: does that confuse things or clear things up?19:55
kwwiior am I confusing the conversation by butting in? :-)19:56
thorwilwell, it's nice that it's not me widening the scope, for once :)19:58
kwwiilol20:00
thorwilanyone in the mood for a testdrive? bzr branch lp:backtestground20:09
thorwilbest would be someone without python-setuptools installed20:09
thorwiljust pushed an improved svg template that supports batch export to 14 screen resolutions :D20:22
kwwiithorwil: about to go to bed..I'll test it tomorrow20:41
thorwilkwwii: ok, have nice dreams :)20:41
kwwiithorwil: ebenso20:43
kwwiithorwil: in the future, leave out the "have"20:47
thorwilkwwii: ok, ty20:48
kwwiinight20:49
* kwwii away20:49
coz_hey all23:54

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