Thread: [pgadmin-hackers] backports.csv
Hi Murtuza,
Your recent addition of backports.csv to the pgAdmin requirements.txt seems to be causing an interesting problem. Whilst it works fine in a regular Python environment, in the cut-down environment used by the desktop runtime it fails because there is no backports/__init__.py file. This seems to be a well-known, but un-fixed issue in which PIP doesn't install the file as it should.
Any ideas on how we might fix this? Obviously I can just touch the file when building the installers, but that doesn't seem ideal.
Thanks.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Hi Dave,
I am not sure on this.
--
Regards,
On Fri, May 12, 2017 at 5:32 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi Murtuza,Your recent addition of backports.csv to the pgAdmin requirements.txt seems to be causing an interesting problem. Whilst it works fine in a regular Python environment, in the cut-down environment used by the desktop runtime it fails because there is no backports/__init__.py file. This seems to be a well-known, but un-fixed issue in which PIP doesn't install the file as it should.Any ideas on how we might fix this? Obviously I can just touch the file when building the installers, but that doesn't seem ideal.Thanks.--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company