py2exe + SQLite problem

Gabriel Genellina gagsl-py2 at
Fri Jan 30 14:09:13 CET 2009

En Fri, 30 Jan 2009 09:50:08 -0200, Armin <a at> escribió:
> Gabriel Genellina wrote:
>> En Thu, 29 Jan 2009 13:05:11 -0200, Armin <a at> escribió:
>>  Did you solve this problem? As you posted 4 related messages and the  
>> last one might imply a solution to this first one...
> Yes, the distutil option 'data_files' failed to copy the database files  
> to the dist directory. All dbopen calls have created empty db files ...
> PS: any comments on the data_files issue ??

Yes: read the section "Installing Additional Files" in the "Distributing  
Python Modules" document

Right at the end: "To install data files directly in the target directory,  
an empty string should be given as the directory."

            ('', ['list/of/file/names',  

Gabriel Genellina

More information about the Python-list mailing list