This project is archived and is in readonly mode.
pip fails to build psycopg from url
-
Georges Racinet
This bug also occurs under zc.buildout, with the 'develop' directive on a local clone made before hand, which
- seems to indicate that it'd be in setuptools indeed (pip not at all involved, but maybe both tools make the same error in the setup invocation)
- does not fit the rationale
It also occurs if using the gp.vcsdevelop extension, beacuse that uses pip for the download part and zc.buildout's develop() for the actual installation.
I have not tried with mr.developer, but I expect it to behave similarly. -
Daniele Varrazzo
- State changed from new to resolved
Bug fixed: now checking out from master and maint_2_5 works as expected.
This bug can be considered a duplicate of #18 pip -e /path/to/psycopg2: psycopg/connection_type.c:810: error: ‘psyco_conn_g....
Georges, can you test it with zc.buildout? Thank you :)
-
Georges Racinet
Hi Daniele, my pleasure to test it.
The compilation passed (did not get that error again), but it does not work right away with zc.buildout, the reason being that
buildout will expect the clone to be the suitable item to insert into sys.path, which is not the way it works with psycopg2.This is apparently unrelated to what you fixed. I'll have to dig a bit into buildout's way of doing for "developping" pure distutils distributions, and into psycopg2's developper documentation to see what kind of workaround and/or fix I can propose, and to whom.
Regards
-
Daniele Varrazzo
Thank you for testing. I don't know what zc.buildout expects but at least we have worked around the setuptools issue.