On Wed, Sep 30, 2009 at 5:00 PM, Chris Withers <[email protected]> wrote: > Hi All, > > Sorry to bring this up if it makes things more difficult, if it's been > solved or is covered by existing proposals, please point me in the right > way. > > I've had a bit of a torrid time building psycopg2 from source of late, and > in my dream world, being able to specify psycopg2 as a dependent egg would > "just work" and pull down the right statically linked binary egg. > > This raises a problem that I haven't seen covered anywhere: not only would > these eggs have to be platform dependent, they'd also need to be dependent > on the required version of postgres. >
I think it's another issue, more related to the way easy_install or pip works with PyPI (using package_index.py) once those scripts have a list of dependencies, they are looking for it at PyPI using the simple index, and download the "best pick", and binary releases for your platform will come first. So, for pyscopg, if this page : pypi.python.org/simple/psycopg would contain the binary distribution for your platform, it would work. but there's only the source release, and the home url doesn't contain anything useful, so it grabs the source version for your case. zope.interface for example has binary releases for win32 so win32 users don't have to compile it: pypi.python.org/simple/zope.interface > Does setuptools/buildout/any other existing or proposed packaging solution > cater for this kind of requirement? > > cheers, > > Chris > > -- > Simplistix - Content Management, Batch Processing & Python Consulting > - http://www.simplistix.co.uk > _______________________________________________ > Distutils-SIG maillist - [email protected] > http://mail.python.org/mailman/listinfo/distutils-sig > -- Tarek Ziadé | http://ziade.org | オープンソースはすごい! _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
