Index
2009-07-01 00:19 – Roger Lovelock : [dabo-users] PyInstaller
2009-07-01 00:28 – Paul McNett : Re: [dabo-users] PyInstaller
2009-07-01 00:34 – Roger Lovelock : Re: [dabo-users] PyInstaller
2011-07-30 10:34 – bluewin : [dabo-users] pyInstaller
2011-07-30 13:01 – Ed Leafe : Re: [dabo-users] pyInstaller
2011-07-30 15:40 – bluewin : Re: [dabo-users] pyInstaller
2011-07-30 15:42 – Ed Leafe : Re: [dabo-users] pyInstaller
2011-07-31 23:29 – bluewin : Re: [dabo-users] pyInstaller
2011-08-05 13:05 – Paul McNett : Re: [dabo-users] pyInstaller
2011-08-05 13:14 – python@bdurham.com: Re: [dabo-users] pyInstaller
Back to top
[dabo-users] PyInstaller

Author: Roger Lovelock

Posted: 2009-07-01 00:19:03   Link

Hi,

Does anyone have any experience with PyInstaller (as opposed to =

Py2Exe) - it appears to produce single file executables about 1/3 the =

size of those produced by Py2Exe and also works on Linux (Mac version =

under development). My initial attempt gave an error, but that is =

probably due to my not putting in correct includes and data sections in =

the .spec file. Rather than go by trial and error I thought I'd ask =

around!

Thanks & Regards

Roger

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

©2009 Roger Lovelock
Back to top
Re: [dabo-users] PyInstaller

Author: Paul McNett

Posted: 2009-07-01 00:28:10   Link

Roger Lovelock wrote:

> Hi,

> Does anyone have any experience with PyInstaller (as opposed to Py2Exe) - it appears to produce single file executables about 1/3 the size of those produced by Py2Exe and also works on Linux (Mac version under development). My initial attempt gave an error, but that is probably due to my not putting in correct includes and data sections in the .spec file. Rather than go by trial and error I thought I'd ask around!

Nope, never used it, although if I were starting out today I'd try to

get it working instead of py2exe/py2app.

First step would probably be googling "pyinstaller wxpython", as wx is

the main, most hairy dependency of dabo.

And let us know what it takes so we can put it on the wiki.

Paul

©2009 Paul McNett
Back to top
Re: [dabo-users] PyInstaller

Author: Roger Lovelock

Posted: 2009-07-01 00:34:48   Link

OK - ta!

--------------------------------------------------

From: "Paul McNett" <p@ulmcnett.com>

Sent: Wednesday, July 01, 2009 2:28 PM

To: "Dabo Users list" <dabo-users@leafe.com>

Subject: Re: [dabo-users] PyInstaller

> Roger Lovelock wrote:

>> Hi,

>> Does anyone have any experience with PyInstaller (as opposed to

>> Py2Exe) - it appears to produce single file executables about 1/3 the

>> size of those produced by Py2Exe and also works on Linux (Mac version

>> under development). My initial attempt gave an error, but that is

>> probably due to my not putting in correct includes and data sections in

>> the .spec file. Rather than go by trial and error I thought I'd ask

>> around!

>

> Nope, never used it, although if I were starting out today I'd try to

> get it working instead of py2exe/py2app.

>

> First step would probably be googling "pyinstaller wxpython", as wx is

> the main, most hairy dependency of dabo.

>

> And let us know what it takes so we can put it on the wiki.

>

> Paul

> _______________________________________________

> Post Messages to: Dabo-users@leafe.com

> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

> Searchable Archives: http://leafe.com/archives/search/dabo-users

> This message:

> http://leafe.com/archives/byMID/4A4AE5DA.9050304@ulmcnett.com

>

©2009 Roger Lovelock
Back to top
[dabo-users] pyInstaller

Author: bluewin

Posted: 2011-07-30 10:34:26   Link

I wanted to make a pyInstaller spec file, but received a error. What should

I change?

In the Python Shell Window I entered:

>>> import sys, os

>>> os.chdir('D:\\16_programming\\pyInstaller_unzip')

>>> sys.argv=['','---onefile','E:\\14\\17_python_pl\\hello.py']

>>> execfile('Makespec.py')

Traceback (most recent call last):

File "<pyshell#4>", line 1, in <module>

execfile('Makespec.py')

File "Makespec.py", line 246, in <module>

import pyi_optparse as optparse

ImportError: No module named pyi_optparse

>>>

In the pyInstaller_unzip directory exists a file pyi_optparse.py

Thank you and greetings Reto

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/004201cc4ec5$cbd15800$63740800$@meiler@bluewin.ch

©2011 bluewin
Back to top
Re: [dabo-users] pyInstaller

Author: Ed Leafe

Posted: 2011-07-30 13:01:49   Link

On Jul 30, 2011, at 9:34 AM, bluewin wrote:

> Traceback (most recent call last):

>

> File "<pyshell#4>", line 1, in <module>

>

> execfile('Makespec.py')

>

> File "Makespec.py", line 246, in <module>

>

> import pyi_optparse as optparse

>

> ImportError: No module named pyi_optparse

>

>>>>

>

> In the pyInstaller_unzip directory exists a file pyi_optparse.py

It's not installed in a path that Python knows about. You will either have to install the pyInstaller package (is there a setup.py in the unzip directory?), or you will have to add the unzip directory to the Python path using sys.path.append(). I would say that installing pyInstaller would be the better route, as there may be other modules in there that will be needed.

-- Ed Leafe

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/52F52CF7-430E-4C6C-8CD6-8DF40CFE86A3@leafe.com

©2011 Ed Leafe
Back to top
Re: [dabo-users] pyInstaller

Author: bluewin

Posted: 2011-07-30 15:40:04   Link

> -----Ursprüngliche Nachricht-----

> Von: dabo-users-bounces@leafe.com [mailto:dabo-users-bounces@leafe.com]

> Im Auftrag von Ed Leafe

> Gesendet: Saturday, July 30, 2011 7:02 PM

> An: Dabo Users list

> Betreff: Re: [dabo-users] pyInstaller

>

> On Jul 30, 2011, at 9:34 AM, bluewin wrote:

>

> > Traceback (most recent call last):

> >

> > File "<pyshell#4>", line 1, in <module>

> >

> > execfile('Makespec.py')

> >

> > File "Makespec.py", line 246, in <module>

> >

> > import pyi_optparse as optparse

> >

> > ImportError: No module named pyi_optparse

> >

> >>>>

> >

> > In the pyInstaller_unzip directory exists a file pyi_optparse.py

>

> It's not installed in a path that Python knows about. You will

> either have to install the pyInstaller package (is there a setup.py in

> the unzip directory?), or you will have to add the unzip directory to

> the Python path using sys.path.append(). I would say that installing

> pyInstaller would be the better route, as there may be other modules in

> there that will be needed.

>

>

> -- Ed Leafe

>

>

There is not setup.py. With sys.path.append() and installing pyWin32 I made

some progress. After starting Build.py I received the feedback

warnhello.txt. Here the content of warnhello.txt:

W: no module named posix (conditional import by os)

W: no module named readline (delayed, conditional import by cmd)

W: no module named readline (delayed import by pdb)

W: no module named pwd (delayed, conditional import by posixpath)

W: no module named org (top-level import by pickle)

W: no module named posix (delayed, conditional import by iu)

W: no module named fcntl (conditional import by subprocess)

W: no module named org (top-level import by copy)

W: no module named _emx_link (conditional import by os)

W: no module named fcntl (top-level import by tempfile)

W: no module named AES (delayed, conditional import by archive)

W: __all__ is built strangely at line 0 - collections

(D:\16_programming\python_inst\lib\collections.pyc)

W: delayed exec statement detected at line 0 - collections

(D:\16_programming\python_inst\lib\collections.pyc)

W: delayed conditional __import__ hack detected at line 0 - unittest.main

(D:\16_programming\python_inst\lib\unittest\main.pyc)

W: delayed __import__ hack detected at line 0 - encodings

(D:\16_programming\python_inst\lib\encodings\__init__.pyc)

W: delayed __import__ hack detected at line 0 - optparse

(D:\16_programming\python_inst\lib\optparse.pyc)

W: delayed conditional __import__ hack detected at line 0 - unittest.loader

(D:\16_programming\python_inst\lib\unittest\loader.pyc)

W: delayed conditional __import__ hack detected at line 0 - unittest.loader

(D:\16_programming\python_inst\lib\unittest\loader.pyc)

W: delayed __import__ hack detected at line 0 - unittest.loader

(D:\16_programming\python_inst\lib\unittest\loader.pyc)

W: delayed conditional __import__ hack detected at line 0 - doctest

(D:\16_programming\python_inst\lib\doctest.pyc)

W: delayed exec statement detected at line 0 - doctest

(D:\16_programming\python_inst\lib\doctest.pyc)

W: delayed conditional __import__ hack detected at line 0 - doctest

(D:\16_programming\python_inst\lib\doctest.pyc)

W: __all__ is built strangely at line 0 - dis

(D:\16_programming\python_inst\lib\dis.pyc)

W: __all__ is built strangely at line 0 - __future__

(D:\16_programming\python_inst\lib\__future__.pyc)

W: __all__ is built strangely at line 0 - tokenize

(D:\16_programming\python_inst\lib\tokenize.pyc)

W: __all__ is built strangely at line 0 - tokenize

(D:\16_programming\python_inst\lib\tokenize.pyc)

W: delayed exec statement detected at line 0 - bdb

(D:\16_programming\python_inst\lib\bdb.pyc)

W: delayed eval hack detected at line 0 - bdb

(D:\16_programming\python_inst\lib\bdb.pyc)

W: delayed eval hack detected at line 0 - bdb

(D:\16_programming\python_inst\lib\bdb.pyc)

W: delayed __import__ hack detected at line 0 - pickle

(D:\16_programming\python_inst\lib\pickle.pyc)

W: delayed __import__ hack detected at line 0 - pickle

(D:\16_programming\python_inst\lib\pickle.pyc)

W: delayed conditional exec statement detected at line 0 - iu

(D:\16_programming\pyInstaller_unzip\iu.pyc)

W: delayed conditional exec statement detected at line 0 - iu

(D:\16_programming\pyInstaller_unzip\iu.pyc)

W: delayed eval hack detected at line 0 - gettext

(D:\16_programming\python_inst\lib\gettext.pyc)

W: delayed conditional eval hack detected at line 0 - warnings

(D:\16_programming\python_inst\lib\warnings.pyc)

W: delayed conditional __import__ hack detected at line 0 - warnings

(D:\16_programming\python_inst\lib\warnings.pyc)

W: delayed exec statement detected at line 0 - pdb

(D:\16_programming\python_inst\lib\pdb.pyc)

W: delayed conditional eval hack detected at line 0 - pdb

(D:\16_programming\python_inst\lib\pdb.pyc)

W: delayed eval hack detected at line 0 - pdb

(D:\16_programming\python_inst\lib\pdb.pyc)

W: delayed conditional eval hack detected at line 0 - pdb

(D:\16_programming\python_inst\lib\pdb.pyc)

W: delayed eval hack detected at line 0 - pdb

(D:\16_programming\python_inst\lib\pdb.pyc)

What shall I do now? Reto

>

> _______________________________________________

> Post Messages to: Dabo-users@leafe.com

> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

> Searchable Archives: http://leafe.com/archives/search/dabo-users

> This message: http://leafe.com/archives/byMID/52F52CF7-430E-4C6C-8CD6-

> 8DF40CFE86A3@leafe.com

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/000201cc4ef0$7e00a1f0$7a01e5d0$@meiler@bluewin.ch

©2011 bluewin
Back to top
Re: [dabo-users] pyInstaller

Author: Ed Leafe

Posted: 2011-07-30 15:42:21   Link

On Jul 30, 2011, at 2:40 PM, bluewin wrote:

> There is not setup.py. With sys.path.append() and installing pyWin32 I made

> some progress. After starting Build.py I received the feedback

> warnhello.txt. Here the content of warnhello.txt:

>

> W: no module named posix (conditional import by os)

> W: no module named readline (delayed, conditional import by cmd)

> W: no module named readline (delayed import by pdb)

> W: no module named pwd (delayed, conditional import by posixpath)

> W: no module named org (top-level import by pickle)

> W: no module named posix (delayed, conditional import by iu)

> W: no module named fcntl (conditional import by subprocess)

> W: no module named org (top-level import by copy)

> W: no module named _emx_link (conditional import by os)

> W: no module named fcntl (top-level import by tempfile)

> W: no module named AES (delayed, conditional import by archive)

> W: __all__ is built strangely at line 0 - collections

[snip]

> What shall I do now? Reto

Have you followed the Windows instructions at http://www.pyinstaller.org/export/latest/tags/1.4/doc/Manual.html#installing-pyinstaller? I don't have any experience with that program, and very little with Python on Windows, so I would look around the pyInstaller site for more information.

-- Ed Leafe

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/D82D3A7B-F0F8-43B6-B335-45CE16D7C092@leafe.com

©2011 Ed Leafe
Back to top
Re: [dabo-users] pyInstaller

Author: bluewin

Posted: 2011-07-31 23:29:02   Link

> -----Ursprüngliche Nachricht-----

> Von: dabo-users-bounces@leafe.com [mailto:dabo-users-bounces@leafe.com]

> Im Auftrag von Ed Leafe

> Gesendet: Saturday, July 30, 2011 9:42 PM

> An: Dabo Users list

> Betreff: Re: [dabo-users] pyInstaller

>

> On Jul 30, 2011, at 2:40 PM, bluewin wrote:

>

> > There is not setup.py. With sys.path.append() and installing pyWin32

> I made

> > some progress. After starting Build.py I received the feedback

> > warnhello.txt. Here the content of warnhello.txt:

> >

> > W: no module named posix (conditional import by os)

> > W: no module named readline (delayed, conditional import by cmd)

> > W: no module named readline (delayed import by pdb)

> > W: no module named pwd (delayed, conditional import by posixpath)

> > W: no module named org (top-level import by pickle)

> > W: no module named posix (delayed, conditional import by iu)

> > W: no module named fcntl (conditional import by subprocess)

> > W: no module named org (top-level import by copy)

> > W: no module named _emx_link (conditional import by os)

> > W: no module named fcntl (top-level import by tempfile)

> > W: no module named AES (delayed, conditional import by archive)

> > W: __all__ is built strangely at line 0 - collections

> [snip]

> > What shall I do now? Reto

>

> Have you followed the Windows instructions at

> http://www.pyinstaller.org/export/latest/tags/1.4/doc/Manual.html#insta

> lling-pyinstaller? I don't have any experience with that program, and

> very little with Python on Windows, so I would look around the

> pyInstaller site for more information.

>

>

> -- Ed Leafe

>

>

Ed thank you for your help, I contacted the members of the pyInstaller

mailing-list. One member told me, that "W: " are warnings, that I can

ignore.

-- Reto Meiler

>

> _______________________________________________

> Post Messages to: Dabo-users@leafe.com

> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

> Searchable Archives: http://leafe.com/archives/search/dabo-users

> This message: http://leafe.com/archives/byMID/D82D3A7B-F0F8-43B6-B335-

> 45CE16D7C092@leafe.com

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/001701cc4ffb$2bae4a90$830adfb0$@meiler@bluewin.ch

©2011 bluewin
Back to top
Re: [dabo-users] pyInstaller

Author: Paul McNett

Posted: 2011-08-05 13:05:54   Link

Sorry to come late to this thread, but just in case it helps, I put together a

PyInstaller page on the development wiki here:

http://trac.dabodev.com/wiki/PyInstaller

Paul

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/4E3C22F2.1050106@ulmcnett.com

©2011 Paul McNett
Back to top
Re: [dabo-users] pyInstaller

Author: python@bdurham.com

Posted: 2011-08-05 13:14:09   Link

Paul,

> Sorry to come late to this thread, but just in case it helps, I put

> together a PyInstaller page on the development wiki here:

> http://trac.dabodev.com/wiki/PyInstaller

Can you share where and why you use PyInstaller vs. Py2exe?

Is Pyinstaller still being actively developed?

Malcolm

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/1312564449.28499.2159901273@webmail.messagingengine.com

©2011 python@bdurham.com