[04:12] mhall119, should this community lens work the way it is? === zz_chihchun is now known as chihchun === chihchun is now known as zz_chihchun [14:03] tgm4883: it'll work, but it won't do anything without scopes === rsalveti_ is now known as rsalveti [15:58] mhall119, weird, I didn't even see it in the dash after I installed it [16:04] tgm4883: you need to restart Unity for it to find new lenses [16:04] mhall119, I rebooted :) [16:04] let me pull down the branch and try again here [16:06] mhall119, python setup.py install [16:06] that should do it right? [16:08] oh, I have no idea if that works [16:08] heh [16:08] I always use a package or "sudo quickly install" [16:09] mhall119, is that a quickly-rewrite function? [16:09] tmashos@tmashos-wks:~/code/unity-community-lens$ sudo quickly install [16:09] ERROR: No install command found. [16:09] Candidate commands are: commands, getstarted, help, quickly [16:10] tgm4883: you need the unity lens template installed [16:10] quickly-unity-lens-template [16:10] ah, I don't have that HERE [16:10] only at work [16:10] err, home [16:10] although that is installed now, that command still doens't work [16:12] :/ [16:12] do you have a .quickly file in that directory? [16:12] mhall119, nope [16:13] oh...hmmm, maybe I didn't use Quickly for that one [16:14] tgm4883: on a call atm, but I'll help you manually install it in a few [16:14] ok [16:54] tgm4883: alrighy, got time? [16:54] yea [16:55] alright, I'm kind of surprised that "sudo setup.py install" didn't work, because I think all the setup info is correct [16:55] but we'll walk through it step by step [16:55] first off, do you have the directory /usr/share/unity/lenses/community and if so, what's in it? [16:55] mhall119, is this correct [16:55] * tsdgeos has quit (Remote host closed the connection) [16:55] err [16:55] http://pastebin.ubuntu.com/1438517/ [16:55] that was odd [16:57] I don't have that directory [16:57] tmashos@tmashos-wks:~/code/unity-community-lens$ ls /usr/share/unity/lenses/ [16:57] applications commands files music video [16:57] your pastebin says it was created... [16:58] it's being installed to /usr/local it seems instead of /usr [16:58] oh, so it was [16:58] well there's your problem ;) [16:58] :) [16:58] so unity doesn't look there? [16:59] in that case, then is there a way to force setup.py to use /usr instead of /usr/local? [17:02] sudo python setup.py install --prefix=/usr [17:02] there we go [17:03] mhall119, that was indeed the issue, after restarting unity, I can now see the lens === aaaas is now known as aaas [18:28] tgm4883: bobweaver: no meeting today? [18:28] mhall119, ah crickey, got busy trying to fix puppet-dashboard :/ [19:55] sorry about that all I am sick today [19:57] shouln't python setup.py scripts ne installing to DESTDIR and not to local ? === mhall119_ is now known as mhall119 [21:35] bobweaver: it's entirely possible my setup.py is wrong [21:35] I don't fully understand how distutils works [21:37] bobweaver, mhall119 no, it goes to the default 3rd party python module install location [21:38] which according to python docs, is probably /usr for packaged python [21:38] so it's entirely possible that installed python has the incorrect setting for that (or there was a reason to choose /usr/local/) [21:38] but it's not an issue with setup.py [21:39] clarification, not an issue with the one mhall119 created [22:14] most people set there code to be set up to go to /usr/local because that is the place that non-main/partner and all that stuff goes but again I am not good python dev but I do know that in ackaging if it is not going to DESTDIR that it will install local when building the package and not to the DESTDIR / debian/source [22:16] I think that is why when one runs dh_make -whatever it tells you "make sure that your makefile is set up to install to Destdir and not local " or it will install to local machine and not in /debian/source [22:16] could be wrong though ^^ [22:19] so say I had a package that installed to /usr right there are many ways that I can do this but I would say the easy way out would be a makefile [22:19] #!/usr/bin/make [22:19] all: [22:19] install: [22:20] cp -r $(CURDIR)/usr $(DESTDIR)/ [22:21] that is it it would copy everything from the CURDIR (surrent directory)/usr if I hade a folder called usr in to debian folder [22:21] bobweaver, http://docs.python.org/2/install/index.html [22:21] err http://docs.python.org/2/install/index.html#how-installation-works [22:21] I could also do cp -r $(CURDIR)/src $(DESTDIR)/some/path [22:22] I see cool it says to set up as --prefix just like cmake well kinda [22:23] can you use DESTDIR in setup ? [22:23] I guess that there would be no point in that though [22:24] me and my 2008 packaging recipes lol [22:24] tgm4883, what is lens ? [22:24] sorr what kinda lens is it ? [22:28] mhall119, that dude that you sent in my direction (design) well one of them is on board and is going to help out. It turns out that I knew him from UDS tgm4883 he took the cab ride back to airport with us (the dude that was hungover) but yeah his stuff looks great mhall119 SO HAPPY THAT YOU POINTED THEM 2 OUT TO ME [22:28] sorry about caps [22:28] bobweaver, what do you mean? [22:29] tgm4883, so I am looking for help with some design right for like some of the things that I am making because well I suck at design and mike pointed out some great design peps for me to get ahold of [22:29] like for this [22:29] http://imagebin.org/239385 [22:30] Or things like [22:31] com'on network pick it up already [22:31] http://imagebin.org/239397 [22:31] It just looks ugly to me and needs to be re-designed also other alpha things that I am working on. [22:32] like form-factor (phone,gaming,tablet) these are all things that will never make it to unity (IDT) but it is good to be able to say yeah it works and this is a MOCKUP for it [22:51] bobweaver: I'm happy to get you two together [22:52] mhall119, again you are awesome point blank [22:52] :) [22:52] I am talking to snwh atm also :)