1 2011-03-04T00:14:05 *** izibi
2 2011-03-04T00:21:41 <ThomasWaldmann> re
3 2011-03-04T00:35:38 <dreimark> gn
4 2011-03-04T00:38:45 <ThomasWaldmann> MattMaker: if one adds babel to setup_requires, it isn't installed into the virtual env
5 2011-03-04T00:38:49 <ThomasWaldmann> gn dreimark
6 2011-03-04T00:39:19 <MattMaker> ThomasWaldmann but I see it in there
7 2011-03-04T00:39:34 <MattMaker> Flask_Babel brings it in
8 2011-03-04T00:39:35 <ThomasWaldmann> did you start from scratch when trying it?
9 2011-03-04T00:39:45 <MattMaker> from deleting env/
10 2011-03-04T00:39:46 <ThomasWaldmann> yeah, it should, but it does not
11 2011-03-04T00:40:15 <MattMaker> hmm, this is a known bug in old versions of setuptools
12 2011-03-04T00:40:34 <MattMaker> I have a workaround, I think
13 2011-03-04T00:42:35 <MattMaker> http://paste.pocoo.org/show/347741/ ?
14 2011-03-04T00:43:30 <MattMaker> I tested that as well, but on my OS X machine it had identical results to the other patch I gave... but maybe you won't see Babel not being imported with this one?
15 2011-03-04T00:43:37 <MattMaker> on your machine
16 2011-03-04T00:44:09 * ThomasWaldmann tries
17 2011-03-04T00:45:56 <ThomasWaldmann> so, this replaces using setup_requires in setup() args?
18 2011-03-04T00:46:03 <MattMaker> yesw
19 2011-03-04T00:46:05 <MattMaker> *yes
20 2011-03-04T00:46:44 <MattMaker> (don't do both!)
21 2011-03-04T00:48:20 <ThomasWaldmann> would also be nice to get rid of "no previously-included files matching..."
22 2011-03-04T00:48:41 <MattMaker> I have been searching for that one!
23 2011-03-04T00:48:43 <MattMaker> in vain
24 2011-03-04T00:49:00 <MattMaker> there are tons of examples out there on the web
25 2011-03-04T00:49:06 <ThomasWaldmann> yes :)
26 2011-03-04T00:49:14 <MattMaker> with that warning showing
27 in them!
28 2011-03-04T00:49:38 <MattMaker> apparently it is considered normal
29 2011-03-04T00:50:45 <ThomasWaldmann> ImportError: No module named babel
30 2011-03-04T00:51:53 <MattMaker> Babel
31 2011-03-04T00:52:10 <MattMaker> err, where are you seeing this error?
32 2011-03-04T00:52:16 <MattMaker> no pun intended
33 2011-03-04T00:53:50 <ThomasWaldmann> when starting moin
34 2011-03-04T00:54:16 <ThomasWaldmann> no babel in env/
35 2011-03-04T00:54:37 * MattMaker tries it again
36 2011-03-04T00:55:08 <MattMaker> you applied only the patch at http://paste.pocoo.org/show/347741/ , no other changes?
37 2011-03-04T00:58:38 <MattMaker> and if so, in what manner are you starting moin afterward?
38 2011-03-04T00:58:53 <MattMaker> after quickinstall I mean
39 2011-03-04T01:00:24 <ThomasWaldmann> ./moin
40 2011-03-04T01:00:36 <ThomasWaldmann> and yes, i entered the env
41 2011-03-04T01:03:11 <MattMaker> I am definitely running it here, with ./moin moin --port=8081
42 2011-03-04T01:03:59 <ThomasWaldmann> so you have babel in env/?
43 2011-03-04T01:04:45 <MattMaker> an egg for it shows up in env/lib/python2.6/site-packages
44 2011-03-04T01:05:07 <MattMaker> i mean, Babel-0.9.5-py2.6.egg-info
45 2011-03-04T01:05:32 <MattMaker> and a folder env/lib/python2.6/site-packages/babel/
46 2011-03-04T01:05:47 <ThomasWaldmann> not for me
47 2011-03-04T01:07:20 <MattMaker> I deleted env/, ran ./quickstart, entered the virtualenv, ran moin
48 2011-03-04T01:08:26 <MattMaker> did you also end up with something like a folder Babel-0.9.5-py2.6.egg in the current directory?
49 2011-03-04T01:09:01 <ThomasWaldmann> yes
50 2011-03-04T01:10:00 <ThomasWaldmann> btw, how is that Distribution patch supposed to work?
51 2011-03-04T01:10:01 <MattMaker> I am curious what your output from ./quickinstall 2>&1 | tee install.log looks like
52 2011-03-04T01:10:06 <ThomasWaldmann> side effects?
53 2011-03-04T01:12:09 <MattMaker> checking my references
54 2011-03-04T01:17:55 * ThomasWaldmann tries with both setup_... and install_requires
55 2011-03-04T01:18:23 <MattMaker> btw, the bug of eggs being installed in install_requires; changelog says that was fixed in version 0.6c9 of setuptools
56 2011-03-04T01:18:46 <MattMaker> where I read that is here: http://peak.telecommunity.com/DevCenter/setuptools
57 2011-03-04T01:20:27 <MattMaker> I forget, what is the command to ask an imported module in the python cli what version it is?
58 2011-03-04T01:20:28 <ThomasWaldmann> nope, doesn't work either
59 2011-03-04T01:21:36 <ThomasWaldmann> env/bin/easy_install talks about 0.6c11
60 2011-03-04T01:22:33 <MattMaker> ok, I get setuptools-0.6c11-py2.6.egg
61 2011-03-04T01:22:37 <MattMaker> inside the env
62 2011-03-04T01:22:55 <ThomasWaldmann> it seems to come with pip
63 2011-03-04T01:23:15 <ThomasWaldmann> because on ubuntu, i have 0.6.14
64 2011-03-04T01:23:49 * ThomasWaldmann thinks about whether distribute solves or causes more problems
65 2011-03-04T01:24:12 <MattMaker> less code is better
66 2011-03-04T01:24:21 <ThomasWaldmann> http://packages.python.org/distribute/index.html
67 2011-03-04T01:25:13 <MattMaker> a drop-in replacement, hmmm
68 2011-03-04T01:26:35 * MattMaker ssh-es over to an Ubuntu machine to try
69 2011-03-04T01:29:05 <MattMaker> hmm, it looks like distribute might have forked before that bug was fixed, I wonder if they fixed it also :D
70 2011-03-04T01:31:42 * MattMaker is trying it on Ubuntu
71 2011-03-04T01:35:07 <MattMaker> perhaps of passing interest is http://babel.edgewall.org/wiki/Documentation/setup.html
72 2011-03-04T01:38:17 <ThomasWaldmann> what do you mean?
73 2011-03-04T01:39:36 <MattMaker> I mean that maybe something there gives clues to what the issue is
74 2011-03-04T01:40:40 <MattMaker> I am also curious about the alternative of using a virtualenv "bootstrap script" http://pypi.python.org/pypi/virtualenv#creating-your-own-bootstrap-scripts
75 2011-03-04T01:46:49 <MattMaker> ok, tried it on an ubuntu; I see it says "Downloading/unpacking Babel (from Flask-Babel>=0.6->moin) " and Installing collected packages: argparse, Babel, .... Successfully installed argparse Babel.... and it has a env/lib/python2.6/site-packages/babel/ folder
76 2011-03-04T01:46:59 <MattMaker> I wonder what is different
77 2011-03-04T01:54:56 * ThomasWaldmann tries virtualenv --distribute
78 2011-03-04T02:01:56 <ThomasWaldmann> same thing :|
79 2011-03-04T02:12:23 <MattMaker> what OS and what versions of various things are you using?
80 2011-03-04T02:19:05 <ThomasWaldmann> ubuntu 10.10
81 2011-03-04T02:19:32 <ThomasWaldmann> $ virtualenv --version
82 2011-03-04T02:19:32 <ThomasWaldmann> 1.5.1
83 2011-03-04T02:21:31 <ThomasWaldmann> pip is 0.7.2 outside and 0.8.1 inside virtual env
84 2011-03-04T02:26:02 <ThomasWaldmann> but as the virtualenv is created and entered first, only the 0.8.1 should be used
85 2011-03-04T02:33:38 <MattMaker> my Ubuntu is 10.04, the other versions all match yours
86 2011-03-04T03:08:57 *** grzywacz
87 2011-03-04T04:31:52 <MattMaker> well, I think I found the dark, ugly place deep down where those "no previously-included files matching..." messages come from....
88 2011-03-04T04:34:24 <MattMaker> it comes from distutils.log
89 2011-03-04T04:34:34 <MattMaker> distutils is monkeypatched by setuptools
90 2011-03-04T04:34:47 <MattMaker> setuptools is monkeypatched by virtualenv
91 2011-03-04T04:36:55 <MattMaker> the distutils.log.warn goes straight to sys.stdout
92 2011-03-04T04:37:52 <MattMaker> it looks like really old code
93 2011-03-04T04:41:50 <MattMaker> it's not really a warning at all; it's not even a logger
94 2011-03-04T04:42:13 <MattMaker> no wonder everyone has ignored them
95 2011-03-04T07:02:49 *** Marchael
96 2011-03-04T07:10:09 *** izibi
97 2011-03-04T07:36:30 <MattMaker> setting DISTUTILS_DEBUG=true in the environment makes setup.py very informative
98 2011-03-04T08:19:45 *** izibi
99 2011-03-04T09:24:05 *** Marchael
100 2011-03-04T09:26:50 *** Marchael
101 2011-03-04T10:10:30 *** greg_f
102 2011-03-04T11:46:27 *** Marchael
103 2011-03-04T11:47:55 *** Marchael
104 2011-03-04T12:19:09 *** Marchael
105 2011-03-04T12:20:20 *** Marchael
106 2011-03-04T12:27:26 *** Marchael
107 2011-03-04T12:27:57 *** Marchael
108 2011-03-04T12:30:09 *** Marchael
109 2011-03-04T12:30:27 *** Marchael
110 2011-03-04T13:46:42 *** Marchael
111 2011-03-04T13:51:50 *** Marchael
112 2011-03-04T14:00:26 <dreimark> gmail removes blanks from py code pasted
113 2011-03-04T14:01:37 *** Marchael
114 2011-03-04T14:06:24 *** Marchael
115 2011-03-04T14:07:50 *** izibi
116 2011-03-04T14:08:17 *** Pranav_rcmas
117 2011-03-04T14:14:10 *** Pranav_rcmas
118 2011-03-04T14:26:42 *** Pranav_rcmas
119 2011-03-04T14:27:01 <ThomasWaldmann> moin
120 2011-03-04T14:59:46 *** Pranav_rcmas
121 2011-03-04T15:11:35 *** Pranav_rcmas
122 2011-03-04T15:44:57 <dreimark> http://flask.pocoo.org/snippets/44/ pagination by flask
123 2011-03-04T15:56:03 *** Pranav_rcmas2
124 2011-03-04T16:07:04 *** Marchael
125 2011-03-04T16:07:10 *** greg_f
126 2011-03-04T16:07:10 *** izibi
127 2011-03-04T16:07:14 *** xjjk
128 2011-03-04T16:07:14 *** franklin_
129 2011-03-04T16:07:14 *** CIA-46
130 2011-03-04T16:07:18 *** eSyr
131 2011-03-04T16:07:19 *** aa_
132 2011-03-04T16:07:19 *** ChanServ
133 2011-03-04T16:07:25 *** MattMaker
134 2011-03-04T16:07:26 *** ThomasWaldmann
135 2011-03-04T16:07:27 *** dreimark
136 2011-03-04T16:07:29 *** Pranav_rcmas2
137 2011-03-04T16:07:29 *** Pranav_rcmas
138 2011-03-04T16:07:33 *** ronny
139 2011-03-04T16:07:33 *** xorAxAx
140 2011-03-04T16:07:36 *** vpv
141 2011-03-04T16:07:40 *** TheSheep
142 2011-03-04T16:07:45 *** diofeher
143 2011-03-04T16:28:56 *** moinBot`
144 2011-03-04T16:45:35 *** Pranav_rcmas2
145 2011-03-04T16:52:11 *** Pranav_rcmas
146 2011-03-04T17:13:47 *** eSyr_
147 2011-03-04T17:18:02 *** eSyr
148 2011-03-04T17:18:03 *** aa_
149 2011-03-04T17:18:08 *** aa_
150 2011-03-04T17:19:19 *** not-xjjk
151 2011-03-04T17:24:20 *** aa_
152 2011-03-04T17:28:31 *** xjjk
153 2011-03-04T17:29:49 *** aa_
154 2011-03-04T17:36:38 *** franklin
155 2011-03-04T17:39:16 *** CIA-24
156 2011-03-04T17:52:16 *** kasun
157 2011-03-04T17:56:41 *** franklin_
158 2011-03-04T17:56:41 *** CIA-46
159 2011-03-04T17:57:51 *** grzywacz
160 2011-03-04T17:58:46 *** grzywacz
161 2011-03-04T18:50:29 *** Pranav_rcmas
162 2011-03-04T19:22:12 *** m4k3r
163 2011-03-04T19:30:48 *** kasun
164 2011-03-04T19:37:14 *** greg_f
165 2011-03-04T19:37:17 *** aa_
166 2011-03-04T19:38:24 *** aa_
167 2011-03-04T20:22:18 *** izibi
168 2011-03-04T20:22:25 *** CIA-24
169 2011-03-04T20:22:33 *** izibi
170 2011-03-04T20:22:58 *** CIA-64
171 2011-03-04T20:25:00 *** kasun
172 2011-03-04T21:03:54 *** maker
173 2011-03-04T21:09:20 *** maker
174 2011-03-04T21:10:29 *** CIA-64
175 2011-03-04T21:10:30 *** m4k3r
176 2011-03-04T21:10:30 *** grzywacz
177 2011-03-04T21:10:30 *** not-xjjk
178 2011-03-04T21:10:31 *** Marchael
179 2011-03-04T21:10:32 *** aa_
180 2011-03-04T21:10:33 *** ChanServ
181 2011-03-04T21:10:33 *** kasun
182 2011-03-04T21:10:34 *** MattMaker
183 2011-03-04T21:10:34 *** ThomasWaldmann
184 2011-03-04T21:10:35 *** dreimark
185 2011-03-04T21:10:35 *** waldi_
186 2011-03-04T21:10:36 *** ronny
187 2011-03-04T21:10:36 *** xorAxAx
188 2011-03-04T21:10:36 *** izibi
189 2011-03-04T21:10:37 *** eSyr_
190 2011-03-04T21:10:37 *** TheSheep
191 2011-03-04T21:10:38 *** diofeher
192 2011-03-04T21:16:51 *** m4k3r
193 2011-03-04T21:16:51 *** kasun
194 2011-03-04T21:16:51 *** CIA-64
195 2011-03-04T21:16:51 *** izibi
196 2011-03-04T21:16:51 *** aa_
197 2011-03-04T21:16:51 *** grzywacz
198 2011-03-04T21:16:51 *** not-xjjk
199 2011-03-04T21:16:51 *** eSyr_
200 2011-03-04T21:16:51 *** waldi_
201 2011-03-04T21:16:51 *** Marchael
202 2011-03-04T21:16:51 *** MattMaker
203 2011-03-04T21:16:51 *** ThomasWaldmann
204 2011-03-04T21:16:51 *** ronny
205 2011-03-04T21:16:51 *** dreimark
206 2011-03-04T21:16:51 *** ChanServ
207 2011-03-04T21:16:51 *** xorAxAx
208 2011-03-04T21:16:51 *** diofeher
209 2011-03-04T21:16:51 *** TheSheep
210 2011-03-04T21:16:51 *** gibson.freenode.net
211 2011-03-04T21:34:36 *** StephenCox
212 2011-03-04T22:34:19 *** kasun
213 2011-03-04T22:40:48 *** StephenCox
214 2011-03-04T23:15:48 *** m4k3r
215 2011-03-04T23:20:29 <ThomasWaldmann> re