IRC log of #zope3-dev for Thursday, 2009-05-28

MFenhmm. and this thing wants to download and install playtools from pypi instead of using the one i've got sitting right here00:00
*** iham has quit IRC00:00
*** pelle_ has joined #zope3-dev00:07
*** pelle__ has quit IRC00:24
*** jhauser has quit IRC00:26
*** sunoano has quit IRC00:34
*** benji has quit IRC00:47
*** mcdonc has quit IRC00:47
*** mcdonc has joined #zope3-dev00:48
*** benji has joined #zope3-dev00:48
*** benji has quit IRC00:49
*** junkafarian has joined #zope3-dev00:50
*** markusleist has joined #zope3-dev01:00
*** sp0cksbeard has quit IRC01:04
*** junkafarian is now known as junkafarian_01:08
*** junkafarian_ is now known as junkafarian01:08
*** redir has quit IRC01:24
*** lurkymclurkleton has quit IRC01:26
*** hathawsh is now known as hath|away01:28
*** jamur2 has quit IRC01:33
*** ignas has quit IRC01:45
*** J1m has quit IRC01:48
*** tarek has quit IRC01:51
*** redir has joined #zope3-dev01:59
*** hath|away is now known as hathawsh01:59
*** ccomb has quit IRC02:01
*** harobed has quit IRC02:14
*** romanofski has joined #zope3-dev02:20
*** nathany has quit IRC02:24
*** hathawsh is now known as hath|away02:48
*** hath|away is now known as hathawsh02:54
*** sm has quit IRC02:59
*** sm has joined #zope3-dev03:03
*** hathawsh is now known as hath|away03:04
*** junkafarian has quit IRC03:48
*** alecm has quit IRC03:48
*** alecm has joined #zope3-dev03:49
*** gary_poster has quit IRC04:20
*** davisagli has left #zope3-dev04:43
*** hath|away is now known as hathawsh04:44
*** hathawsh is now known as hath|away05:03
MFenthis seems like a very basic question about buildout: what do i put in the tarball i upload to pypi if i want easy_install foo to install foo and do extra stuff?05:34
MFen"extra stuff" means basically "run these recipes which fetch and create data files in various ways". the parts they need would be distributed with my application, but making setuptools do them is a hassle and making buildout do them was relatively simple05:35
MFenunfortunately there's this gulf or disconnect between the two concepts. i just want easy_install foo to put the entire framework on someone's computer, everything ready to use.05:36
MFenmaybe what i want is easy_install playtools_installer and then run /usr/bin/playtools_installer which does everything else? is that a thing?05:42
*** sm has quit IRC05:43
mcdoncMFen: no "easy buckets" here, you have to do the work either way... either via buildout recipes or through something that does like you says and installs an installer05:44
MFenright. i *did* the buildout recipes. that went great, very easy. what i don't understand is how this all goes into the *distribution* of my software :)05:44
mcdoncMFen: it doesnt05:44
mcdonceither they run buildout, or they dont05:45
MFenat some point i need to upload something to pypi, so someone can easy_install playtools and have all this stuff happen.05:45
mcdoncand if they dont, they dont get your nice build05:45
MFenhmmmmm05:45
MFenok, so playtools_installer is actually a proxy for buildout i assume05:45
MFenor.. this chimeric bootstrap.py i keep hearing about but can't actually find05:46
mcdoncthats up to you pretty much... i think the grok folks have done something like that via "grokproject"05:46
MFenthat might make sense. i think my use case is similar to theirs05:47
mcdoncthe closest thing to being able to install "an application" via eggs is via buildout05:48
mcdonceasy_install is fine for installing libraries05:48
mcdoncbut it doesnt help with the "extra stuff"05:49
MFenindeed it does not05:49
mcdonc(config files, etc)05:49
MFenwhy does nobody like to help with the extra stuff :(05:49
MFenalthough i guess buildout will help, just slightly less help than i wanted05:49
mcdoncwe use svn+buildout05:49
mcdoncit works05:50
mcdonc"if you want to instal this thing, check this thing out and run buildout"05:50
mcdoncnot elegant but it does the job05:50
MFenis there a big repository of ready-made buildout recipes somewhere i can tap into? having a ready-made svn, hg, bzr or twisted.trial recipe would be quite handy05:50
mcdonconly the ones on pypi... buildout.org may have more info05:51
mcdoncor not.. it doesnt seem to have links to existing recipes05:51
mcdoncbut maybe pypi has a category for them05:52
MFeni just got the gleam of an idea that i can use recipe = some.random.package and buildout will figure out where to get it. is that true at all?05:52
mcdoncit is05:53
MFensweet.05:53
mcdoncwell at least if its on pypi05:53
MFenyeah, no doubt05:53
*** davisagli has joined #zope3-dev05:54
MFenheh, the top (latest) package on pypi is some dude's recipe for installing his application05:55
MFentopic::..build tools seems to have lots of them05:56
MFenok, so here's another disconnect05:58
MFeni have this lovely set of dependencies set up for playtools05:59
MFendo i keep them in setup.py, move them into buildout.cfg as egg parts, both?05:59
mcdoncif they're dependencies of the code in playtools itself, keep them there06:05
mcdoncthe stuff in buildout.cfg is for "deployment" (where you might need "extra stuff")06:06
mcdoncbut if playtools imports code from something, its setup.py should name it06:06
MFenok, makes sense06:06
MFenwhat about stuff that's only used by my testing framework? i'm tempted to put that into buildout.cfg06:07
MFeni.e. "fudge" is not imported by any library code but the tests will fail without it06:07
mcdoncno good answer; could be an "extra", could go in buildout.cfg, good go in "tests_require"06:07
MFenwhat the heck is tests_require?06:08
mcdoncsetuptools thing06:08
mcdoncthere's no good answer06:08
MFenok06:08
MFenso if you were me, would you write setup.py to require buildout, and then write a script that invokes buildout with the right arguments to do the rest?06:10
*** nathany has joined #zope3-dev06:36
*** nathany has quit IRC06:45
*** tisto has joined #zope3-dev06:53
*** afd_ has joined #zope3-dev06:57
MFenif i type "develop = ." does . refer to the directory the cfg file is in or the directory i'm in when buildout runs?07:03
*** greenman has quit IRC07:04
*** replicant has quit IRC07:17
*** hazmat has joined #zope3-dev07:17
*** ChanServ sets mode: +o hazmat07:17
*** davisagli has quit IRC07:21
*** baijum has joined #zope3-dev07:31
*** davisagli has joined #zope3-dev07:48
MFenwhy do i get DistributionNotFound when buildout>setuptools attempts to install the dependencies of my package?07:48
*** greenman has joined #zope3-dev08:04
MFenAttributeError: Options instance has no attribute '_buildout'08:06
MFenseriously, what's with all these weird exceptions?08:06
MFeni can't believe what i'm doing is so weird that nobody has tried it before. i'm just installing software08:06
MFenneed some informative error handling up ins08:07
*** agroszer has joined #zope3-dev08:12
*** hath|away is now known as hathawsh08:19
*** greenman has quit IRC08:23
*** greenman has joined #zope3-dev08:29
*** allisterb has joined #zope3-dev08:29
*** tibi has joined #zope3-dev08:37
*** greenman has quit IRC08:43
*** allisterb__ has quit IRC08:44
*** greenman has joined #zope3-dev08:45
*** JaRoel|4D has quit IRC08:48
*** zagy has joined #zope3-dev08:51
*** afd_ has quit IRC08:54
*** thekorn has joined #zope3-dev09:04
*** hathawsh is now known as hath|away09:07
*** hath|away is now known as hathawsh09:12
*** __mac__ has joined #zope3-dev09:16
*** JaRoel|4D has joined #zope3-dev09:21
*** allisterb has quit IRC09:26
*** pyqwer has joined #zope3-dev09:28
*** malthe|Zzz is now known as malthe09:31
*** basti__ has joined #zope3-dev09:33
*** runyaga has quit IRC09:41
*** allisterb has joined #zope3-dev09:43
*** tibi has quit IRC09:45
*** tibi_ has joined #zope3-dev09:45
*** bigkevmcd has joined #zope3-dev09:46
*** bigkevmcd has quit IRC09:52
*** quodt has joined #zope3-dev09:59
*** ccomb has joined #zope3-dev10:00
*** thekorn has quit IRC10:01
*** sunoano has joined #zope3-dev10:17
*** mkerrin has joined #zope3-dev10:18
*** tarek has joined #zope3-dev10:20
*** romanofski has quit IRC10:23
*** iham has joined #zope3-dev10:28
*** SpeedyGhost has joined #zope3-dev10:30
*** bigkevmcd has joined #zope3-dev10:30
*** harobed has joined #zope3-dev10:33
*** __mac__ has quit IRC10:39
*** __mac__ has joined #zope3-dev10:50
*** lamike has joined #zope3-dev10:50
*** romanofski has joined #zope3-dev10:53
*** greenman has quit IRC10:59
*** junkafarian has joined #zope3-dev11:08
*** ktwilight has quit IRC11:21
*** ktwilight has joined #zope3-dev11:25
*** tibi_ has quit IRC11:32
*** afd__ has joined #zope3-dev11:34
*** MFen has left #zope3-dev11:39
*** MJ has joined #zope3-dev11:41
*** SpeedyGhost has quit IRC11:44
*** davisagli has left #zope3-dev11:58
*** hathawsh is now known as hath|away12:01
*** projekt01 has joined #zope3-dev12:26
*** J1m has joined #zope3-dev12:54
*** svenn has joined #zope3-dev12:56
*** gary_poster has joined #zope3-dev13:05
*** projekt01_ has joined #zope3-dev13:08
svennI have a zc.recipe.egg:custom question, I get13:10
svennError: Referenced option does not exist: numpy location13:10
svennthe buildout look like this13:10
svennhttp://pastebin.com/m152651d613:10
*** ignas has joined #zope3-dev13:11
*** flox has joined #zope3-dev13:14
*** projekt01_ is now known as rogerip13:17
*** harobed has quit IRC13:19
*** J1m has quit IRC13:23
*** J1m has joined #zope3-dev13:23
*** projekt01 has quit IRC13:23
*** yotaff has joined #zope3-dev13:28
*** flox has quit IRC13:33
Theuni1svenn: I haven't seen the zc.recipe.egg to have a location option.13:40
Theuni1is that documented?13:40
svennI was looking at this13:41
svennhttp://www.buildout.org/docs/tutorial.html?highlight=location#exercise-213:41
*** mgedmin has joined #zope3-dev13:44
svennTheuni1: Is there an other why to specify the location of an egg?13:47
svennwhy=way13:47
Theuni1svenn: I don't think the egg-location will help you13:47
Theuni1because the includes will probably not be there13:48
svennThueni: they are I think. If I use a absoulute path to my eggs-dir and the numpy egg it works13:49
J1mwe really could use a download-archive recipe13:49
*** lamike has left #zope3-dev13:58
*** bigkevmcd has quit IRC13:58
svennThueni1: this work http://pastebin.com/m651f3fff (line 15)14:00
svennJ1m: is there a locaion option or did I missunderstand the tutorial?14:01
J1mIn the tutorial, the cmmi provides a location option so other recipes can find out where it installs things.14:02
J1mSo there is a location option in the cmmi recipe, but it is computed.14:03
J1mdoes that help? :)14:05
svennYes, I'll try to use the cmmi recipe instead, thanks.14:05
Theuni1J1m: for that usecase?14:05
J1mTheuni1, I don't know what use case y'all are discussing.14:06
Theuni1heh, so for what usecase do you want the download-archive recipe?14:06
J1mor even what you're asking me.14:06
J1mah14:06
J1mwell, I want it for things like js libraries.14:07
Theuni1svenn: i figured it could be that the egg might expose that information, but my expectation that eggs usually don't do that14:07
*** goschtl has joined #zope3-dev14:07
J1mBut others might want it for getting other random files like include files.14:07
J1minclude files for things that have bit don't install include files.14:07
J1ms/bit/but14:08
svennThueni1: yes, I guess that's usually the case14:09
J1mThis is a bit of a hole in the egg story -- an understandable one.14:09
J1mMaybe buildout should try to do more here.14:10
svennThat would be nice :-)14:10
J1mGiven the difficulties of getting setuptools on py3 I've been pondering having buildout rely on setuptools less and doing more with vanilla distutils distros.14:11
*** faassen has joined #zope3-dev14:12
*** flox has joined #zope3-dev14:12
J1mFor example, if there was buildout:include-dir and/or buildout:lib-dir option, it could try to install packages so they stuck their includes and libs there.14:13
J1mOr, I suppose, there could be a special egg-installation recipe for packages that had these and buildout could install the files in a corresponding part dir.14:13
J1mThat could be done today with a suitably written recipe.14:14
J1mgotta go14:14
*** J1m has quit IRC14:14
*** jhauser has joined #zope3-dev14:23
*** junkafarian has quit IRC14:23
*** junkafarian has joined #zope3-dev14:24
*** markusleist has quit IRC14:27
*** markusleist has joined #zope3-dev14:28
*** redir has quit IRC14:46
*** tarek has quit IRC15:03
*** junkafarian has quit IRC15:04
*** junkafarian has joined #zope3-dev15:06
*** bigkevmcd has joined #zope3-dev15:12
*** tarek has joined #zope3-dev15:20
*** harobed has joined #zope3-dev15:24
*** romanofski has quit IRC15:29
*** redir has joined #zope3-dev15:43
*** benji has joined #zope3-dev15:50
*** afd_ has joined #zope3-dev15:52
*** romanofski has joined #zope3-dev15:52
*** goschtl_ has joined #zope3-dev16:00
*** jamur2 has joined #zope3-dev16:01
*** lurkymclurkleton has joined #zope3-dev16:05
*** redir has quit IRC16:05
*** redir has joined #zope3-dev16:06
*** afd__ has quit IRC16:09
*** goschtl has quit IRC16:14
*** menesis has joined #zope3-dev16:16
*** svenn has quit IRC16:27
*** jhauser has quit IRC16:42
*** Aiste has joined #zope3-dev17:00
*** baijum has quit IRC17:03
*** J1m has joined #zope3-dev17:05
*** sm has joined #zope3-dev17:06
*** faassen has quit IRC17:07
*** iham has quit IRC17:13
*** Theuni1 has quit IRC17:17
*** Theuni2 has joined #zope3-dev17:17
*** allisterb_ has joined #zope3-dev17:22
*** mcdonc has quit IRC17:40
*** mcdonc has joined #zope3-dev17:41
*** romanofski has quit IRC17:42
*** allisterb has quit IRC17:43
*** cshenton_ has joined #zope3-dev17:43
*** mcdonc has quit IRC17:44
*** mcdonc has joined #zope3-dev17:46
*** Theuni2 has quit IRC17:51
*** cshenton has quit IRC17:52
*** sm has quit IRC18:03
*** allisterb has joined #zope3-dev18:07
*** __mac__ has quit IRC18:07
*** alecm has joined #zope3-dev18:11
*** __mac__ has joined #zope3-dev18:11
*** allisterb_ has quit IRC18:12
*** davisagli has joined #zope3-dev18:13
*** goschtl_ has quit IRC18:13
*** pyqwer has quit IRC18:17
*** basti__ has quit IRC18:22
*** cshenton_ has quit IRC18:23
*** nathany has joined #zope3-dev18:26
*** cshenton_ has joined #zope3-dev18:31
*** sm has joined #zope3-dev18:33
*** rogerip has quit IRC18:35
*** davisagli has quit IRC18:43
*** iham has joined #zope3-dev18:45
*** Theuni1 has joined #zope3-dev18:48
*** ignas has quit IRC18:49
*** iham has quit IRC18:50
*** thekorn_ has joined #zope3-dev18:52
*** thekorn_ is now known as thekorn18:52
*** quodt has quit IRC18:56
*** __mac__ has quit IRC18:57
*** JaRoel|4D has quit IRC18:58
*** ignas has joined #zope3-dev19:01
*** tisto has quit IRC19:04
*** SpeedyGhost has joined #zope3-dev19:07
*** afd__ has joined #zope3-dev19:10
*** junkafarian has quit IRC19:13
*** MJ has quit IRC19:14
*** afd_ has quit IRC19:21
*** bigkevmcd has quit IRC19:23
*** harobed has quit IRC19:23
*** davisagli has joined #zope3-dev19:28
*** junkafarian has joined #zope3-dev19:30
*** harobed has joined #zope3-dev19:33
*** afd__ has quit IRC19:33
*** redir has quit IRC19:43
*** hath|away is now known as hathawsh19:43
*** afd__ has joined #zope3-dev19:43
*** redir has joined #zope3-dev19:43
*** supton__ has joined #zope3-dev19:45
*** jpcw has joined #zope3-dev19:59
*** jpcw has joined #zope3-dev20:00
*** supton_ has quit IRC20:02
*** Theuni1 has quit IRC20:02
*** jukart has joined #zope3-dev20:04
*** mcdonc has quit IRC20:08
*** gimni has joined #zope3-dev20:11
*** Theuni1 has joined #zope3-dev20:12
*** afd_ has joined #zope3-dev20:12
*** mkerrin has quit IRC20:14
*** mcdonc has joined #zope3-dev20:14
*** gimni has left #zope3-dev20:17
*** Aiste has quit IRC20:28
*** ignas has quit IRC20:30
*** junkafarian has quit IRC20:30
*** afd__ has quit IRC20:31
*** Theuni1 has quit IRC20:34
*** junkafarian has joined #zope3-dev20:35
*** hathawsh is now known as hath|away20:45
*** yotaff has quit IRC20:50
*** iham has joined #zope3-dev20:57
*** junkafarian has quit IRC21:00
*** iham has quit IRC21:02
*** malthe is now known as malthe|Zzz21:04
*** __mac__ has joined #zope3-dev21:12
*** jukart has quit IRC21:21
*** tarek has quit IRC21:28
*** sp0cksbeard has joined #zope3-dev21:41
*** tisto has joined #zope3-dev21:43
*** menesis has quit IRC21:45
*** afd__ has joined #zope3-dev21:45
*** afd__ has quit IRC21:53
*** afd__ has joined #zope3-dev21:53
*** afd_ has quit IRC21:56
*** jukart has joined #zope3-dev21:58
*** tarek has joined #zope3-dev22:07
*** agroszer has quit IRC22:07
*** jukart has quit IRC22:15
*** junkafarian has joined #zope3-dev22:18
*** redir has quit IRC22:22
*** redir has joined #zope3-dev22:23
*** afd__ has quit IRC22:29
*** hath|away is now known as hathawsh22:40
*** junkafarian has quit IRC22:42
*** davisagli_ has joined #zope3-dev22:42
*** davisagli has quit IRC22:42
*** gary_poster_ has joined #zope3-dev22:50
*** mgedmin has quit IRC22:50
*** ignas has joined #zope3-dev22:52
*** dbfrombrc|away is now known as dbfrombrc22:56
*** sm has quit IRC23:01
*** __mac__ has quit IRC23:02
*** gary_poster has quit IRC23:05
*** dbfrombrc is now known as dbfrombrc|away23:05
*** tisto has quit IRC23:07
*** greenman has joined #zope3-dev23:17
*** hathawsh is now known as hath|away23:27
*** sm has joined #zope3-dev23:28
*** greenman has quit IRC23:34
*** allisterb_ has joined #zope3-dev23:38
*** hath|away is now known as hathawsh23:43
*** davisagli_ is now known as davisagli23:50
*** allisterb has quit IRC23:55

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