From: Jared D. <dem...@ya...> - 2016-06-14 16:39:39
|
Yah, looks like a known issue, thx! I'll see what I can figure out. From: "Fahlgren, Eric" <eri...@sm...> To: Jared DeMott <dem...@ya...>; "py2...@li..." <py2...@li...> Sent: Tuesday, June 14, 2016 12:12 PM Subject: RE: [Py2exe-users] including .txt files in .o #yiv9860078120 #yiv9860078120 -- _filtered #yiv9860078120 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9860078120 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv9860078120 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv9860078120 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv9860078120 #yiv9860078120 p.yiv9860078120MsoNormal, #yiv9860078120 li.yiv9860078120MsoNormal, #yiv9860078120 div.yiv9860078120MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:10.0pt;}#yiv9860078120 a:link, #yiv9860078120 span.yiv9860078120MsoHyperlink {color:blue;text-decoration:underline;}#yiv9860078120 a:visited, #yiv9860078120 span.yiv9860078120MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv9860078120 span.yiv9860078120Code {color:black;}#yiv9860078120 span.yiv9860078120EmailStyle18 {color:#1F497D;}#yiv9860078120 .yiv9860078120MsoChpDefault {font-size:10.0pt;} _filtered #yiv9860078120 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv9860078120 div.yiv9860078120WordSection1 {}#yiv9860078120 Jared, This sounds like more of an installer issue than a py2exe one. If you put the txt files into your product.exe, how exactly do you envision opening the Grammar.txt file? I would look at putting it in the installation directory tree somewhere, and setting whatever path variable is needed for lib2to3 to find them there? On the other hand, you might not be able to do any of those yet:https://github.com/StorjOld/storjnode/issues/102 (at least without hacking pgen.py). Eric From: Jared DeMott [mailto:dem...@ya...] Sent: Monday, June 13, 2016 10:34 To: py2...@li... Subject: [Py2exe-users] including .txt files in .o The Python3 ported pefile makes use of futures and therefore lib2to3. This introduces a couple of dependencies (Grammar.txt and PatternGrammar.txt) which are not the standard types packaged into the shared library by py2exe (normally dll, pyd, pyo) Anyone know now to modify py2exe to include those? Thx! jrod |