MFen | hmm. and this thing wants to download and install playtools from pypi instead of using the one i've got sitting right here | 00:00 |
---|---|---|
*** iham has quit IRC | 00:00 | |
*** pelle_ has joined #zope3-dev | 00:07 | |
*** pelle__ has quit IRC | 00:24 | |
*** jhauser has quit IRC | 00:26 | |
*** sunoano has quit IRC | 00:34 | |
*** benji has quit IRC | 00:47 | |
*** mcdonc has quit IRC | 00:47 | |
*** mcdonc has joined #zope3-dev | 00:48 | |
*** benji has joined #zope3-dev | 00:48 | |
*** benji has quit IRC | 00:49 | |
*** junkafarian has joined #zope3-dev | 00:50 | |
*** markusleist has joined #zope3-dev | 01:00 | |
*** sp0cksbeard has quit IRC | 01:04 | |
*** junkafarian is now known as junkafarian_ | 01:08 | |
*** junkafarian_ is now known as junkafarian | 01:08 | |
*** redir has quit IRC | 01:24 | |
*** lurkymclurkleton has quit IRC | 01:26 | |
*** hathawsh is now known as hath|away | 01:28 | |
*** jamur2 has quit IRC | 01:33 | |
*** ignas has quit IRC | 01:45 | |
*** J1m has quit IRC | 01:48 | |
*** tarek has quit IRC | 01:51 | |
*** redir has joined #zope3-dev | 01:59 | |
*** hath|away is now known as hathawsh | 01:59 | |
*** ccomb has quit IRC | 02:01 | |
*** harobed has quit IRC | 02:14 | |
*** romanofski has joined #zope3-dev | 02:20 | |
*** nathany has quit IRC | 02:24 | |
*** hathawsh is now known as hath|away | 02:48 | |
*** hath|away is now known as hathawsh | 02:54 | |
*** sm has quit IRC | 02:59 | |
*** sm has joined #zope3-dev | 03:03 | |
*** hathawsh is now known as hath|away | 03:04 | |
*** junkafarian has quit IRC | 03:48 | |
*** alecm has quit IRC | 03:48 | |
*** alecm has joined #zope3-dev | 03:49 | |
*** gary_poster has quit IRC | 04:20 | |
*** davisagli has left #zope3-dev | 04:43 | |
*** hath|away is now known as hathawsh | 04:44 | |
*** hathawsh is now known as hath|away | 05:03 | |
MFen | this 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 simple | 05:35 |
MFen | unfortunately 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 |
MFen | maybe 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 IRC | 05:43 | |
mcdonc | MFen: 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 installer | 05:44 |
MFen | right. 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 |
mcdonc | MFen: it doesnt | 05:44 |
mcdonc | either they run buildout, or they dont | 05:45 |
MFen | at some point i need to upload something to pypi, so someone can easy_install playtools and have all this stuff happen. | 05:45 |
mcdonc | and if they dont, they dont get your nice build | 05:45 |
MFen | hmmmmm | 05:45 |
MFen | ok, so playtools_installer is actually a proxy for buildout i assume | 05:45 |
MFen | or.. this chimeric bootstrap.py i keep hearing about but can't actually find | 05:46 |
mcdonc | thats up to you pretty much... i think the grok folks have done something like that via "grokproject" | 05:46 |
MFen | that might make sense. i think my use case is similar to theirs | 05:47 |
mcdonc | the closest thing to being able to install "an application" via eggs is via buildout | 05:48 |
mcdonc | easy_install is fine for installing libraries | 05:48 |
mcdonc | but it doesnt help with the "extra stuff" | 05:49 |
MFen | indeed it does not | 05:49 |
mcdonc | (config files, etc) | 05:49 |
MFen | why does nobody like to help with the extra stuff :( | 05:49 |
MFen | although i guess buildout will help, just slightly less help than i wanted | 05:49 |
mcdonc | we use svn+buildout | 05:49 |
mcdonc | it works | 05:50 |
mcdonc | "if you want to instal this thing, check this thing out and run buildout" | 05:50 |
mcdonc | not elegant but it does the job | 05:50 |
MFen | is 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 handy | 05:50 |
mcdonc | only the ones on pypi... buildout.org may have more info | 05:51 |
mcdonc | or not.. it doesnt seem to have links to existing recipes | 05:51 |
mcdonc | but maybe pypi has a category for them | 05:52 |
MFen | i 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 |
mcdonc | it is | 05:53 |
MFen | sweet. | 05:53 |
mcdonc | well at least if its on pypi | 05:53 |
MFen | yeah, no doubt | 05:53 |
*** davisagli has joined #zope3-dev | 05:54 | |
MFen | heh, the top (latest) package on pypi is some dude's recipe for installing his application | 05:55 |
MFen | topic::..build tools seems to have lots of them | 05:56 |
MFen | ok, so here's another disconnect | 05:58 |
MFen | i have this lovely set of dependencies set up for playtools | 05:59 |
MFen | do i keep them in setup.py, move them into buildout.cfg as egg parts, both? | 05:59 |
mcdonc | if they're dependencies of the code in playtools itself, keep them there | 06:05 |
mcdonc | the stuff in buildout.cfg is for "deployment" (where you might need "extra stuff") | 06:06 |
mcdonc | but if playtools imports code from something, its setup.py should name it | 06:06 |
MFen | ok, makes sense | 06:06 |
MFen | what about stuff that's only used by my testing framework? i'm tempted to put that into buildout.cfg | 06:07 |
MFen | i.e. "fudge" is not imported by any library code but the tests will fail without it | 06:07 |
mcdonc | no good answer; could be an "extra", could go in buildout.cfg, good go in "tests_require" | 06:07 |
MFen | what the heck is tests_require? | 06:08 |
mcdonc | setuptools thing | 06:08 |
mcdonc | there's no good answer | 06:08 |
MFen | ok | 06:08 |
MFen | so 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-dev | 06:36 | |
*** nathany has quit IRC | 06:45 | |
*** tisto has joined #zope3-dev | 06:53 | |
*** afd_ has joined #zope3-dev | 06:57 | |
MFen | if 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 IRC | 07:04 | |
*** replicant has quit IRC | 07:17 | |
*** hazmat has joined #zope3-dev | 07:17 | |
*** ChanServ sets mode: +o hazmat | 07:17 | |
*** davisagli has quit IRC | 07:21 | |
*** baijum has joined #zope3-dev | 07:31 | |
*** davisagli has joined #zope3-dev | 07:48 | |
MFen | why do i get DistributionNotFound when buildout>setuptools attempts to install the dependencies of my package? | 07:48 |
*** greenman has joined #zope3-dev | 08:04 | |
MFen | AttributeError: Options instance has no attribute '_buildout' | 08:06 |
MFen | seriously, what's with all these weird exceptions? | 08:06 |
MFen | i can't believe what i'm doing is so weird that nobody has tried it before. i'm just installing software | 08:06 |
MFen | need some informative error handling up ins | 08:07 |
*** agroszer has joined #zope3-dev | 08:12 | |
*** hath|away is now known as hathawsh | 08:19 | |
*** greenman has quit IRC | 08:23 | |
*** greenman has joined #zope3-dev | 08:29 | |
*** allisterb has joined #zope3-dev | 08:29 | |
*** tibi has joined #zope3-dev | 08:37 | |
*** greenman has quit IRC | 08:43 | |
*** allisterb__ has quit IRC | 08:44 | |
*** greenman has joined #zope3-dev | 08:45 | |
*** JaRoel|4D has quit IRC | 08:48 | |
*** zagy has joined #zope3-dev | 08:51 | |
*** afd_ has quit IRC | 08:54 | |
*** thekorn has joined #zope3-dev | 09:04 | |
*** hathawsh is now known as hath|away | 09:07 | |
*** hath|away is now known as hathawsh | 09:12 | |
*** __mac__ has joined #zope3-dev | 09:16 | |
*** JaRoel|4D has joined #zope3-dev | 09:21 | |
*** allisterb has quit IRC | 09:26 | |
*** pyqwer has joined #zope3-dev | 09:28 | |
*** malthe|Zzz is now known as malthe | 09:31 | |
*** basti__ has joined #zope3-dev | 09:33 | |
*** runyaga has quit IRC | 09:41 | |
*** allisterb has joined #zope3-dev | 09:43 | |
*** tibi has quit IRC | 09:45 | |
*** tibi_ has joined #zope3-dev | 09:45 | |
*** bigkevmcd has joined #zope3-dev | 09:46 | |
*** bigkevmcd has quit IRC | 09:52 | |
*** quodt has joined #zope3-dev | 09:59 | |
*** ccomb has joined #zope3-dev | 10:00 | |
*** thekorn has quit IRC | 10:01 | |
*** sunoano has joined #zope3-dev | 10:17 | |
*** mkerrin has joined #zope3-dev | 10:18 | |
*** tarek has joined #zope3-dev | 10:20 | |
*** romanofski has quit IRC | 10:23 | |
*** iham has joined #zope3-dev | 10:28 | |
*** SpeedyGhost has joined #zope3-dev | 10:30 | |
*** bigkevmcd has joined #zope3-dev | 10:30 | |
*** harobed has joined #zope3-dev | 10:33 | |
*** __mac__ has quit IRC | 10:39 | |
*** __mac__ has joined #zope3-dev | 10:50 | |
*** lamike has joined #zope3-dev | 10:50 | |
*** romanofski has joined #zope3-dev | 10:53 | |
*** greenman has quit IRC | 10:59 | |
*** junkafarian has joined #zope3-dev | 11:08 | |
*** ktwilight has quit IRC | 11:21 | |
*** ktwilight has joined #zope3-dev | 11:25 | |
*** tibi_ has quit IRC | 11:32 | |
*** afd__ has joined #zope3-dev | 11:34 | |
*** MFen has left #zope3-dev | 11:39 | |
*** MJ has joined #zope3-dev | 11:41 | |
*** SpeedyGhost has quit IRC | 11:44 | |
*** davisagli has left #zope3-dev | 11:58 | |
*** hathawsh is now known as hath|away | 12:01 | |
*** projekt01 has joined #zope3-dev | 12:26 | |
*** J1m has joined #zope3-dev | 12:54 | |
*** svenn has joined #zope3-dev | 12:56 | |
*** gary_poster has joined #zope3-dev | 13:05 | |
*** projekt01_ has joined #zope3-dev | 13:08 | |
svenn | I have a zc.recipe.egg:custom question, I get | 13:10 |
svenn | Error: Referenced option does not exist: numpy location | 13:10 |
svenn | the buildout look like this | 13:10 |
svenn | http://pastebin.com/m152651d6 | 13:10 |
*** ignas has joined #zope3-dev | 13:11 | |
*** flox has joined #zope3-dev | 13:14 | |
*** projekt01_ is now known as rogerip | 13:17 | |
*** harobed has quit IRC | 13:19 | |
*** J1m has quit IRC | 13:23 | |
*** J1m has joined #zope3-dev | 13:23 | |
*** projekt01 has quit IRC | 13:23 | |
*** yotaff has joined #zope3-dev | 13:28 | |
*** flox has quit IRC | 13:33 | |
Theuni1 | svenn: I haven't seen the zc.recipe.egg to have a location option. | 13:40 |
Theuni1 | is that documented? | 13:40 |
svenn | I was looking at this | 13:41 |
svenn | http://www.buildout.org/docs/tutorial.html?highlight=location#exercise-2 | 13:41 |
*** mgedmin has joined #zope3-dev | 13:44 | |
svenn | Theuni1: Is there an other why to specify the location of an egg? | 13:47 |
svenn | why=way | 13:47 |
Theuni1 | svenn: I don't think the egg-location will help you | 13:47 |
Theuni1 | because the includes will probably not be there | 13:48 |
svenn | Thueni: they are I think. If I use a absoulute path to my eggs-dir and the numpy egg it works | 13:49 |
J1m | we really could use a download-archive recipe | 13:49 |
*** lamike has left #zope3-dev | 13:58 | |
*** bigkevmcd has quit IRC | 13:58 | |
svenn | Thueni1: this work http://pastebin.com/m651f3fff (line 15) | 14:00 |
svenn | J1m: is there a locaion option or did I missunderstand the tutorial? | 14:01 |
J1m | In the tutorial, the cmmi provides a location option so other recipes can find out where it installs things. | 14:02 |
J1m | So there is a location option in the cmmi recipe, but it is computed. | 14:03 |
J1m | does that help? :) | 14:05 |
svenn | Yes, I'll try to use the cmmi recipe instead, thanks. | 14:05 |
Theuni1 | J1m: for that usecase? | 14:05 |
J1m | Theuni1, I don't know what use case y'all are discussing. | 14:06 |
Theuni1 | heh, so for what usecase do you want the download-archive recipe? | 14:06 |
J1m | or even what you're asking me. | 14:06 |
J1m | ah | 14:06 |
J1m | well, I want it for things like js libraries. | 14:07 |
Theuni1 | svenn: i figured it could be that the egg might expose that information, but my expectation that eggs usually don't do that | 14:07 |
*** goschtl has joined #zope3-dev | 14:07 | |
J1m | But others might want it for getting other random files like include files. | 14:07 |
J1m | include files for things that have bit don't install include files. | 14:07 |
J1m | s/bit/but | 14:08 |
svenn | Thueni1: yes, I guess that's usually the case | 14:09 |
J1m | This is a bit of a hole in the egg story -- an understandable one. | 14:09 |
J1m | Maybe buildout should try to do more here. | 14:10 |
svenn | That would be nice :-) | 14:10 |
J1m | Given 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-dev | 14:12 | |
*** flox has joined #zope3-dev | 14:12 | |
J1m | For 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 |
J1m | Or, 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 |
J1m | That could be done today with a suitably written recipe. | 14:14 |
J1m | gotta go | 14:14 |
*** J1m has quit IRC | 14:14 | |
*** jhauser has joined #zope3-dev | 14:23 | |
*** junkafarian has quit IRC | 14:23 | |
*** junkafarian has joined #zope3-dev | 14:24 | |
*** markusleist has quit IRC | 14:27 | |
*** markusleist has joined #zope3-dev | 14:28 | |
*** redir has quit IRC | 14:46 | |
*** tarek has quit IRC | 15:03 | |
*** junkafarian has quit IRC | 15:04 | |
*** junkafarian has joined #zope3-dev | 15:06 | |
*** bigkevmcd has joined #zope3-dev | 15:12 | |
*** tarek has joined #zope3-dev | 15:20 | |
*** harobed has joined #zope3-dev | 15:24 | |
*** romanofski has quit IRC | 15:29 | |
*** redir has joined #zope3-dev | 15:43 | |
*** benji has joined #zope3-dev | 15:50 | |
*** afd_ has joined #zope3-dev | 15:52 | |
*** romanofski has joined #zope3-dev | 15:52 | |
*** goschtl_ has joined #zope3-dev | 16:00 | |
*** jamur2 has joined #zope3-dev | 16:01 | |
*** lurkymclurkleton has joined #zope3-dev | 16:05 | |
*** redir has quit IRC | 16:05 | |
*** redir has joined #zope3-dev | 16:06 | |
*** afd__ has quit IRC | 16:09 | |
*** goschtl has quit IRC | 16:14 | |
*** menesis has joined #zope3-dev | 16:16 | |
*** svenn has quit IRC | 16:27 | |
*** jhauser has quit IRC | 16:42 | |
*** Aiste has joined #zope3-dev | 17:00 | |
*** baijum has quit IRC | 17:03 | |
*** J1m has joined #zope3-dev | 17:05 | |
*** sm has joined #zope3-dev | 17:06 | |
*** faassen has quit IRC | 17:07 | |
*** iham has quit IRC | 17:13 | |
*** Theuni1 has quit IRC | 17:17 | |
*** Theuni2 has joined #zope3-dev | 17:17 | |
*** allisterb_ has joined #zope3-dev | 17:22 | |
*** mcdonc has quit IRC | 17:40 | |
*** mcdonc has joined #zope3-dev | 17:41 | |
*** romanofski has quit IRC | 17:42 | |
*** allisterb has quit IRC | 17:43 | |
*** cshenton_ has joined #zope3-dev | 17:43 | |
*** mcdonc has quit IRC | 17:44 | |
*** mcdonc has joined #zope3-dev | 17:46 | |
*** Theuni2 has quit IRC | 17:51 | |
*** cshenton has quit IRC | 17:52 | |
*** sm has quit IRC | 18:03 | |
*** allisterb has joined #zope3-dev | 18:07 | |
*** __mac__ has quit IRC | 18:07 | |
*** alecm has joined #zope3-dev | 18:11 | |
*** __mac__ has joined #zope3-dev | 18:11 | |
*** allisterb_ has quit IRC | 18:12 | |
*** davisagli has joined #zope3-dev | 18:13 | |
*** goschtl_ has quit IRC | 18:13 | |
*** pyqwer has quit IRC | 18:17 | |
*** basti__ has quit IRC | 18:22 | |
*** cshenton_ has quit IRC | 18:23 | |
*** nathany has joined #zope3-dev | 18:26 | |
*** cshenton_ has joined #zope3-dev | 18:31 | |
*** sm has joined #zope3-dev | 18:33 | |
*** rogerip has quit IRC | 18:35 | |
*** davisagli has quit IRC | 18:43 | |
*** iham has joined #zope3-dev | 18:45 | |
*** Theuni1 has joined #zope3-dev | 18:48 | |
*** ignas has quit IRC | 18:49 | |
*** iham has quit IRC | 18:50 | |
*** thekorn_ has joined #zope3-dev | 18:52 | |
*** thekorn_ is now known as thekorn | 18:52 | |
*** quodt has quit IRC | 18:56 | |
*** __mac__ has quit IRC | 18:57 | |
*** JaRoel|4D has quit IRC | 18:58 | |
*** ignas has joined #zope3-dev | 19:01 | |
*** tisto has quit IRC | 19:04 | |
*** SpeedyGhost has joined #zope3-dev | 19:07 | |
*** afd__ has joined #zope3-dev | 19:10 | |
*** junkafarian has quit IRC | 19:13 | |
*** MJ has quit IRC | 19:14 | |
*** afd_ has quit IRC | 19:21 | |
*** bigkevmcd has quit IRC | 19:23 | |
*** harobed has quit IRC | 19:23 | |
*** davisagli has joined #zope3-dev | 19:28 | |
*** junkafarian has joined #zope3-dev | 19:30 | |
*** harobed has joined #zope3-dev | 19:33 | |
*** afd__ has quit IRC | 19:33 | |
*** redir has quit IRC | 19:43 | |
*** hath|away is now known as hathawsh | 19:43 | |
*** afd__ has joined #zope3-dev | 19:43 | |
*** redir has joined #zope3-dev | 19:43 | |
*** supton__ has joined #zope3-dev | 19:45 | |
*** jpcw has joined #zope3-dev | 19:59 | |
*** jpcw has joined #zope3-dev | 20:00 | |
*** supton_ has quit IRC | 20:02 | |
*** Theuni1 has quit IRC | 20:02 | |
*** jukart has joined #zope3-dev | 20:04 | |
*** mcdonc has quit IRC | 20:08 | |
*** gimni has joined #zope3-dev | 20:11 | |
*** Theuni1 has joined #zope3-dev | 20:12 | |
*** afd_ has joined #zope3-dev | 20:12 | |
*** mkerrin has quit IRC | 20:14 | |
*** mcdonc has joined #zope3-dev | 20:14 | |
*** gimni has left #zope3-dev | 20:17 | |
*** Aiste has quit IRC | 20:28 | |
*** ignas has quit IRC | 20:30 | |
*** junkafarian has quit IRC | 20:30 | |
*** afd__ has quit IRC | 20:31 | |
*** Theuni1 has quit IRC | 20:34 | |
*** junkafarian has joined #zope3-dev | 20:35 | |
*** hathawsh is now known as hath|away | 20:45 | |
*** yotaff has quit IRC | 20:50 | |
*** iham has joined #zope3-dev | 20:57 | |
*** junkafarian has quit IRC | 21:00 | |
*** iham has quit IRC | 21:02 | |
*** malthe is now known as malthe|Zzz | 21:04 | |
*** __mac__ has joined #zope3-dev | 21:12 | |
*** jukart has quit IRC | 21:21 | |
*** tarek has quit IRC | 21:28 | |
*** sp0cksbeard has joined #zope3-dev | 21:41 | |
*** tisto has joined #zope3-dev | 21:43 | |
*** menesis has quit IRC | 21:45 | |
*** afd__ has joined #zope3-dev | 21:45 | |
*** afd__ has quit IRC | 21:53 | |
*** afd__ has joined #zope3-dev | 21:53 | |
*** afd_ has quit IRC | 21:56 | |
*** jukart has joined #zope3-dev | 21:58 | |
*** tarek has joined #zope3-dev | 22:07 | |
*** agroszer has quit IRC | 22:07 | |
*** jukart has quit IRC | 22:15 | |
*** junkafarian has joined #zope3-dev | 22:18 | |
*** redir has quit IRC | 22:22 | |
*** redir has joined #zope3-dev | 22:23 | |
*** afd__ has quit IRC | 22:29 | |
*** hath|away is now known as hathawsh | 22:40 | |
*** junkafarian has quit IRC | 22:42 | |
*** davisagli_ has joined #zope3-dev | 22:42 | |
*** davisagli has quit IRC | 22:42 | |
*** gary_poster_ has joined #zope3-dev | 22:50 | |
*** mgedmin has quit IRC | 22:50 | |
*** ignas has joined #zope3-dev | 22:52 | |
*** dbfrombrc|away is now known as dbfrombrc | 22:56 | |
*** sm has quit IRC | 23:01 | |
*** __mac__ has quit IRC | 23:02 | |
*** gary_poster has quit IRC | 23:05 | |
*** dbfrombrc is now known as dbfrombrc|away | 23:05 | |
*** tisto has quit IRC | 23:07 | |
*** greenman has joined #zope3-dev | 23:17 | |
*** hathawsh is now known as hath|away | 23:27 | |
*** sm has joined #zope3-dev | 23:28 | |
*** greenman has quit IRC | 23:34 | |
*** allisterb_ has joined #zope3-dev | 23:38 | |
*** hath|away is now known as hathawsh | 23:43 | |
*** davisagli_ is now known as davisagli | 23:50 | |
*** allisterb has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!