[01:25:22] zookomeeting is now known as zooko [02:17:51] ** bitmonk has joined us [02:20:09] ** bitmonk has left us [02:33:36] ** bitmonk has joined us [02:34:31] bitmonk is now known as nicbour [02:34:46] ** nicbour has left IRC (Client Quit) [05:48:27] ** apoirier has joined us [06:16:22] [connected at Fri Mar 21 06:16:22 2008] [06:16:23] <> *** Looking up your hostname... [06:16:23] <> *** Checking ident [06:16:23] <> *** No identd (auth) response [06:16:23] <> *** Found your hostname [06:16:23] <> *** Your host is clarke.freenode.net[clarke.freenode.net/6667], running version hyperion-1.0.2b [06:16:25] [I have joined #peak] [06:16:25] ** clarke.freenode.net set the topic to does anyone remember the real topic ? - not really ... [10:38:35] ** thinkeryz1 has left us [12:13:37] ** pje has joined us [13:20:19] Howdy pje! [13:36:26] 'lo [13:45:55] How do I put in my setup.py that when someone invokes it like "./setup.py myplugin", that I want the "--frob" option of the myplugin command to be turned on by default? [13:46:15] I could say "if 'myplugin' in sys.argv[1:]: sys.argv.append('--frob')" [13:46:19] but that would be slightly horrible. [13:55:40] er, you mean you're implementing a custom command? [13:55:59] Read the distutils docs (and source for the distutils.cmd and the sample command) [13:56:09] Thanks. [13:56:14] You need to implement initialize_options and finalize_options [13:56:20] I've implemented a few commands, in plugins. [13:56:26] and also I think negative_options, or something like that [13:56:35] At this moment I want to use one of them in a project, but I want the default setting to be different than in myother project. [13:56:45] Oh... well you could just use setup.cfg [13:56:50] So, it already works for me to invoke "./setup.py --frob". [13:56:51] [mycommand] [13:56:52] from = 1 [13:56:55] er... [13:56:56] frob = 1 [13:56:57] But now I want "./setup.py".. Ah, that sounds perfect. [13:57:01] Thanks! [13:57:24] and that will the be the default for that project, even for other people receiving a copy of it. [13:57:30] e.g. via an sdist [13:57:38] Right. [15:18:42] ** apoirier has left IRC ("KVIrc 3.2.6 Anomalies http://www.kvirc.net/") [15:42:25] zooko is now known as zookonap [16:00:56] ** zookonap has left IRC (Remote closed the connection) [16:29:35] ** thinkeryzu has joined us [16:35:32] ** mike8 has joined us [19:02:11] ** zookophone has joined us [19:02:24] The twisted folks are almost finished making twisted compatible with easy_install. [19:02:32] See channel #twisted if you want to help them finish up the automated tests thereof. [19:02:40] They seem to be confused about some basic questions... [19:31:34] zookophone is now known as zookofamilytime [20:28:40] ** pje has left IRC ("Client exiting") [20:42:16] ** mike8 has left IRC ("Ex-Chat") [21:08:36] zookofamilytime is now known as zookoreallyaway [21:14:31] zookoreallyaway is now known as zooko [21:15:58] zooko is now known as zookomtgirby [22:08:47] zookomtgirby is now known as zooko [22:17:30] zooko is now known as zookosleep