Re: How to build psycopg2 for Windows

2021-10-04 Thread Dan Davis
Daniele (namesake), Thanks for the quick response. I tried that, it looks like https://github.com/psycopg/psycopg2/blob/master/scripts/build/appveyor.py#L291 shows the build step: python setup.py build_ext -l "libpgcommon libpgport" After that, I still get a binary that depends on libpq.dll - b

Re: How to build psycopg2 for Windows

2021-10-04 Thread Daniele Varrazzo
On Tue, 5 Oct 2021 at 00:30, Dan Davis wrote: > > Can anyone give me a solution to build psycopg2 statically on Windows? You can follow what Appveyor does, which is the CI that builds psycopg2 packages. - this is the setup https://github.com/psycopg/psycopg2/blob/master/.appveyor/packages.yml -