2009-3-20

13:16 dwave
I made a pypi server in django, if someones interested: http://github.com/ask/chishop/tree/master
13:17 dwave
still missing authentication for some weird reason, but working on it.
14:25 jezdez
dwave_: oooh, nice!
14:45 dwave
yeah, instead of messing with damn pip and the -e svn+ argument, I now deploy with my own pypi server
14:46 jezdez
that is awesome!
14:46 dwave
i really find it disturbing to check out trunk every time i hit deploy
14:46 jezdez
well, you should use svn tags instead
14:46 jezdez
or do you mean pinax trunk?
14:47 dwave
I probably should, the right answer would be that the authors should make a goddamn release already :)
14:49 dwave
i almost feel the need to register their projects at pypi and give it back to them later
14:50 jezdez
heh, I know what you mean ^^
14:51 jezdez
we really should consider doing that for pinax as well
14:51 jezdez
PiPI
14:51 jezdez
hehe
14:53 dwave
what I finally want is to get rid of local_apps also and deploy my project with pip install myproject, and the local_apps are installed as dependencies
14:53 jezdez
yup, good idea. that's where we are going to be in pinax 0.7
14:54 jezdez
maby we should simple "release" our pinax internal apps to our own package index
14:54 jezdez
s/simple/simply/
14:54 dwave
hehe. yeah
14:54 jezdez
that would solve some problems
14:56 dwave
think I have to make a patch to distutils though. they actually raise an exception if the -r (index url) is not "pypi"
14:56 jezdez
oh really?
14:56 jezdez
that seems weird
14:56 dwave
so python setup.py register -r mypypiserver doesn't work without removing that check
14:58 jezdez
what's the exact exception?
14:59 dwave
#if self.repository not in ('pypi', self.DEFAULT_REPOSITORY):
14:59 dwave
# raise ValueError('%s not found in .pypirc' % self.repository)
15:00 jezdez
seems to be new in 2.6
15:00 jezdez
15:00 jezdez
doesn't have it
15:00 jezdez
15:00 jezdez
there it is
15:00 jezdez
weird
15:01 dwave
hmm. maybe some left-over debugging stuff then
15:06 jezdez
15:10 jezdez
15:11 jezdez
you'd have to add an index-servers config section to your .pypirc
15:15 dwave
yeah, that was my first thought when I saw the error message
15:16 jezdez
have you tried it in py2.5?
15:16 dwave
but it doesn't actually check if it's in the config file, it just checks if the repository is either the url of the default repository, which is hardcoded to pypi, or if it's "pypi" it sets it to the url of pypu
15:18 dwave
python 2.5 it works, but not with the config format described in EnhacnedPyPI
15:40 jezdez
I see, I think that's a bug then