Re: [web2py] Web2py binary distribution and psycopg2 driver

2012-01-11 Thread Brian M
I just did a build of trunk with Python 2.7 on Windows 7. Had to grab the windows installers for psycopg2 and py2exe. Worked just fine once I commented out ABOUT from the date_files list (line 75 in setup_exe.py) - apparently that file isn't included anymore. I don't have a PostgreSQL server

Re: [web2py] Web2py binary distribution and psycopg2 driver

2012-01-11 Thread Mariano Reingart
For python 2.5 you need at least: bz2.pyd library.zip MSVCR71.dll psycopg2._psycopg.pyd python25.dll test.exe unicodedata.pyd w9xpopen.exe NOTE the psycopg2._psycopg.pyd binary dll Also, MSVCR71.dll surely will change for other versions of python, and you'll be need manifests and/or other runtime

Re: [web2py] Web2py binary distribution and psycopg2 driver

2012-01-11 Thread Alexandre Andrade
I remember the postgresql driver usually works with the source distribuition of web2py on windows. I think a way u get it working is use the source web2py on windows, and use py2exe or similar to create a executable. Alexandre Andrade 2012/1/10 Álvaro J. Iradier > Hi, > > I was trying to dist

Re: [web2py] Web2py binary distribution and psycopg2 driver

2012-01-11 Thread Mariano Reingart
On Tue, Jan 10, 2012 at 5:14 PM, Álvaro J. Iradier wrote: > Hi, > > I was trying to distribute an application with web2py binary for > windows, but I required the PostgreSQL driver. So I copied the > psycopg2 files to site-packages in the web2py binary folder. > > If I start a shell from an applic

[web2py] Web2py binary distribution and psycopg2 driver

2012-01-10 Thread Álvaro J . Iradier
Hi, I was trying to distribute an application with web2py binary for windows, but I required the PostgreSQL driver. So I copied the psycopg2 files to site-packages in the web2py binary folder. If I start a shell from an application, I can import psycopg2 and connect to the database. However, it l