[prev in list] [next in list] [prev in thread] [next in thread] 

List:       py2exe-users
Subject:    Re: [Py2exe-users] problem with a file name for data_files
From:       Filipe Pires Alvarenga Fernandes <ocefpaf () gmail ! com>
Date:       2011-06-03 14:52:04
Message-ID: BANLkTinfGWPceA=1SQvgr8przAUC9Fs8TQ () mail ! gmail ! com
[Download RAW message or body]

On Thu, Jun 2, 2011 at 21:42, Mark Hammond <skippy.hammond@gmail.com> wrote:
> On 3/06/2011 11:21 AM, Michael Hipp wrote:
>> On 6/2/2011 2:17 PM, Filipe Pires Alvarenga Fernandes wrote:
>>> I have a file name "Ts.strange.RSU.list.IN" that is not founded by
>>
>> Just a thought ... is it possible you need to escape some of the "dots"
>> or other unusual characters in the filename string?
>
> FWIW, pywin32 uses:
>
>   data_files=[('',
> (os.path.join(gettempdir(),'pywin32.version.txt'),))] + ...
>
> So multiple dots seem fine.  The format of data_files is - errr -
> painful (but it isn't actually a part of py2exe - the builtin distutils
> 'install_data' command is what processes and copies them) so I expect
> the problem might just be confusion about the mess of lists/tuples that
> parameter needs...

Thanks, that solved the problem. My list/tuples were indeed "confused".

 -Filipe

> Mark

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Py2exe-users mailing list
Py2exe-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic