[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2021-05-22 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2021-05-22 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 413df57968e4d612f87722bb8454a66357f84839 by Miss Islington (bot) 
in branch '3.10':
bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309) (GH-26311)
https://github.com/python/cpython/commit/413df57968e4d612f87722bb8454a66357f84839


--
nosy: +pablogsal
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2021-05-22 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 099e6a4096382697dda55d58d3a96f68375ea546 by Miss Islington (bot) 
in branch '3.9':
bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309) (GH-26312)
https://github.com/python/cpython/commit/099e6a4096382697dda55d58d3a96f68375ea546


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2021-05-22 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2021-05-22 Thread miss-islington


Change by miss-islington :


--
pull_requests: +24910
pull_request: https://github.com/python/cpython/pull/26312

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2021-05-22 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 10.0 -> 11.0
pull_requests: +24909
pull_request: https://github.com/python/cpython/pull/26311

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2021-05-22 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
nosy: +berker.peksag
versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2021-05-22 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
keywords: +patch
nosy: +erlendaasland
nosy_count: 9.0 -> 10.0
pull_requests: +24908
pull_request: https://github.com/python/cpython/pull/26309

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2020-08-17 Thread Nathaniel Manista


Change by Nathaniel Manista :


--
nosy: +Nathaniel Manista

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2019-07-14 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

Please also add a reference to py2app (at least of the programming FAQ as 
py2app is macOS-only).

--
nosy: +ronaldoussoren

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2019-07-10 Thread Zachary Ware


Zachary Ware  added the comment:

I've just come across the fact that the Windows FAQ is out of date again.  
Denis, your PR still has some pending change requests; are you interested in 
updating your PR, or would you rather someone else take this over?

--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
stage:  -> patch review
versions: +Python 3.8, Python 3.9 -Python 2.7, Python 3.3, Python 3.4, Python 
3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: py2exe, program has stoped working!?

2018-11-22 Thread konsyme
On Sunday, April 13, 2008 at 4:52:06 PM UTC+3, skan...@yahoo.se wrote:
> so i used py2exe and i have the build and the dist-folders.
> 
> in the distfolder there is a Calculator.exe file.
> 
> when i run it it just says "Calculator.exe has stopped working" in a
> popup but the program itself never shows up.
> 
> 
> wtf!?
> 
> and when im distributing my program i have to include both catalogues
> right?

Hello there, i have the same issue with an executable that i created recently. 
My code has been written with python 2.7 / Windows 8.1 / Tkinter / py2exe.  I 
also hadn't any problems when i run the code via my source code console, but 
when i convert it in ".exe" file it would not work. After a lot of search i am 
still unable to find what is exactly the problem, but i have a serious suspect 
that might help you. Well my script is about a simple parse of information from 
Url sites. In case when i parse information from an "http://; website i have no 
problem at all and my executable is running perfectly, but in case when i try 
to parse from an "https://; website it stop working. This issue is causing by a 
python SSL certificate check. In my source code it gave me back error messages, 
but after some search in Google i found some ways to suppress and disable the 
SSL certification checks and also hide all error messages in console and it is 
running fine now in console even in "https://; pars
 es, but it seems in executable format it still gives me the "stop working" 
message.

Note: My dialog windows text box of Tkinter, where i insert the URL information 
are appearing normally without any problems while i run the ".exe" file, but 
stops working right after this. So i suspect 1) there might be a simple error 
message that causing the application to stop working, or 2) There might be a 
need for some extra ".dll" files to be excludes on creation of the executable 
in setup.py that py2exe uses and then manually copy/paste them in the same 
directory of your ".exe. file.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: py2exe output flagged as malware

2018-02-28 Thread Hartmut Goebel
Am 28.02.2018 um 16:47 schrieb Robin Becker:
> I upgraded pyinstaller using the very latest pip and now the version
> of pyinstaller at least is 3.3.1. I don't actually know how to check
> the validity of the installed code or the binary stubs. 

The current archives are PyPI are PGP/GnuPG-signed, as the ones at github.

-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog:
http://www.goebel-consult.de/blog/nicht-pgp-ist-gescheitert-die-entwickler-haben-versagt

Kolumne: http://www.cissp-gefluester.de/2012-02-bring-your-own-life-glosse

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: py2exe output flagged as malware

2018-02-28 Thread Robin Becker

On 28/02/2018 16:25, Hartmut Goebel wrote:

Am 28.02.2018 um 16:47 schrieb Robin Becker:

I upgraded pyinstaller using the very latest pip and now the version
of pyinstaller at least is 3.3.1. I don't actually know how to check
the validity of the installed code or the binary stubs.


The current archives are PyPI are PGP/GnuPG-signed, as the ones at github.


so presumably I can locate the downloaded tar zip and hash it to check. Of 
course if pip is already busted it can out fox me anyhow.
--
Robin Becker

--
https://mail.python.org/mailman/listinfo/python-list


Re: py2exe output flagged as malware

2018-02-28 Thread Hartmut Goebel
Am 28.02.2018 um 16:47 schrieb Robin Becker:
> I upgraded pyinstaller using the very latest pip and now the version
> of pyinstaller at least is 3.3.1. I don't actually know how to check
> the validity of the installed code or the binary stubs. 

The current archives are PyPI are PGP/GnuPG-signed, as the ones at github.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel  | h.goe...@crazy-compilers.com   |
| www.crazy-compilers.com | compilers which you thought are impossible |

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: py2exe output flagged as malware

2018-02-28 Thread Robin Becker

On 28/02/2018 11:46, alister via Python-list wrote:

On Wed, 28 Feb 2018 09:53:09 +, Robin Becker wrote:


I see this has happened to others in the past. I'm using 32 bit python
2.7.10 with py2exe 3.3 on windows 7. The exes work fine,
but when I try to download into windows 10 I'm getting the exes
immediately removed as malware.

Is there any way to prevent this. It's very bad for python programs to
get this kind of reputation.

Anyone know if the same happens with PyInstaller etc etc?


I would suggest you contact the Anti-virus vendor,
Are you sure you have download a clean copy of py2exe.



The anti-virus vendor is Microsoft; I imagine I will get short shrift from them 
regarding this issue.

Turns out my py2exe script was just pyinstaller under the hood. Apologies to 
py2exe.

I guess someone changed the build script script to use a different python 
packager.

I upgraded pyinstaller using the very latest pip and now the version of pyinstaller at least is 3.3.1. I don't actually know how 
to check the validity of the installed code or the binary stubs.


After rebuilding with 3.3.1 the new exe is 10 bytes shorter and is not 
recognized as malware by windows 10.
--
Robin Becker

--
https://mail.python.org/mailman/listinfo/python-list


Re: py2exe output flagged as malware

2018-02-28 Thread alister via Python-list
On Wed, 28 Feb 2018 09:53:09 +, Robin Becker wrote:

> I see this has happened to others in the past. I'm using 32 bit python
> 2.7.10 with py2exe 3.3 on windows 7. The exes work fine,
> but when I try to download into windows 10 I'm getting the exes
> immediately removed as malware.
> 
> Is there any way to prevent this. It's very bad for python programs to
> get this kind of reputation.
> 
> Anyone know if the same happens with PyInstaller etc etc?

I would suggest you contact the Anti-virus vendor,
Are you sure you have download a clean copy of py2exe.



-- 
There are two ways to write error-free programs; only the third one works.
-- 
https://mail.python.org/mailman/listinfo/python-list


py2exe output flagged as malware

2018-02-28 Thread Robin Becker
I see this has happened to others in the past. I'm using 32 bit python 2.7.10 with py2exe 3.3 on windows 7. The exes work fine, 
but when I try to download into windows 10 I'm getting the exes immediately removed as malware.


Is there any way to prevent this. It's very bad for python programs to get this 
kind of reputation.

Anyone know if the same happens with PyInstaller etc etc?
--
Robin Becker

--
https://mail.python.org/mailman/listinfo/python-list


Re: py2exe maintainer abandoned the project; is there any replacements? Or, anyone willing to continue the work?

2018-02-21 Thread Kryptxy via Python-list
I like pyinstaller. It's one-file exe creation is pretty good. You can give it 
a try.

 Original Message 
On 21 Feb 2018, 23:00, MGHSM wrote:

> Am 21.02.18 um 18:30 schrieb MGHSM: > Thomas Heller himself says he's 
> "retiring" from py2exe in 
> https://sourceforge.net/p/py2exe/mailman/message/36033869/ > > Is there any 
> suitable replacement with similar or better capabilities? > There is 
> PyInstaller, which works on all major OS: http://www.pyinstaller.org/ 
> Christian -- https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: py2exe maintainer abandoned the project; is there any replacements? Or, anyone willing to continue the work?

2018-02-21 Thread Christian Gollwitzer

Am 21.02.18 um 18:30 schrieb MGHSM:

Thomas Heller himself says he's "retiring" from py2exe in 
https://sourceforge.net/p/py2exe/mailman/message/36033869/

Is there any suitable replacement with similar or better capabilities?


There is PyInstaller, which works on all major OS:

http://www.pyinstaller.org/

Christian
--
https://mail.python.org/mailman/listinfo/python-list


py2exe maintainer abandoned the project; is there any replacements? Or, anyone willing to continue the work?

2018-02-21 Thread MGHSM
Thomas Heller himself says he's "retiring" from py2exe in 
https://sourceforge.net/p/py2exe/mailman/message/36033869/

Is there any suitable replacement with similar or better capabilities?

Is there any desires to continue the project?
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2017-06-25 Thread Denis Akhiyarov

Changes by Denis Akhiyarov :


--
pull_requests: +2443

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30757] pyinstaller can be added to docs, py2exe ref can be updated

2017-06-25 Thread Denis Akhiyarov

New submission from Denis Akhiyarov:

https://github.com/python/cpython/pull/1158

It is not clear why this FAQ item is written in addition to this document:

https://github.com/python/cpython/blob/master/Doc/faq/windows.rst#how-do-i-make-python-scripts-executable

https://github.com/python/cpython/blob/master/Doc/faq/programming.rst#how-can-i-create-a-stand-alone-binary-from-a-python-script

--
assignee: docs@python
components: Documentation
messages: 296844
nosy: denfromufa, docs@python
priority: normal
severity: normal
status: open
title: pyinstaller can be added to docs, py2exe ref can be updated
type: enhancement
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30757>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: How to decompile an exe file compiled by py2exe?

2017-06-13 Thread Irving Duran
This might be what you are looking for ->
https://stackoverflow.com/questions/6287918/how-to-decompile-an-exe-file-compiled-by-py2exe

On Tue, Jun 13, 2017 at 8:52 AM Xristos Xristoou <saxr...@gmail.com> wrote:

> hello
>
> How to decompile an exe file compiled by py2exe?
> in my file i have a library.zip file i dont if that help this work.
>
> i need some easy because i am very new i try some programs but without
> results.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
Thank You,

Irving Duran
-- 
https://mail.python.org/mailman/listinfo/python-list


How to decompile an exe file compiled by py2exe?

2017-06-13 Thread Xristos Xristoou
hello

How to decompile an exe file compiled by py2exe?
in my file i have a library.zip file i dont if that help this work.

i need some easy because i am very new i try some programs but without results.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: multiprocessing.Process can not start a thread in py2exe

2017-05-21 Thread Ho Yeung Lee
On Sunday, May 21, 2017 at 2:47:26 PM UTC+8, Ho Yeung Lee wrote:
> On Sunday, May 21, 2017 at 2:40:49 PM UTC+8, top...@googlemail.com wrote:
> > Did you call freeze_support() function after script start?
> > https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support
> 
> 
> no, i did not call freeze_support()

no matter i call it or not in the first line of main , it still can not run
the thread function
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: multiprocessing.Process can not start a thread in py2exe

2017-05-21 Thread Ho Yeung Lee
On Sunday, May 21, 2017 at 2:40:49 PM UTC+8, top...@googlemail.com wrote:
> Did you call freeze_support() function after script start?
> https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support


no, i did not call freeze_support()
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: multiprocessing.Process can not start a thread in py2exe

2017-05-21 Thread topic2k--- via Python-list
Did you call freeze_support() function after script start?
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: multiprocessing.Process can not start a thread in py2exe

2017-05-21 Thread Ho Yeung Lee
i mean executable file can not run the multiprocessing thread 
after convert to executable file with py2exe



On Sunday, May 21, 2017 at 2:09:04 PM UTC+8, Ho Yeung Lee wrote:
> p = multiprocessing.Process(target=helloconnect, args=(host,"",))
> 
> multiprocessing.Process can not start a thread in py2exe
> 
> it can compile and run without error
> but it can not run function helloconnect

-- 
https://mail.python.org/mailman/listinfo/python-list


multiprocessing.Process can not start a thread in py2exe

2017-05-21 Thread Ho Yeung Lee
p = multiprocessing.Process(target=helloconnect, args=(host,"",))

multiprocessing.Process can not start a thread in py2exe

it can compile and run without error
but it can not run function helloconnect
-- 
https://mail.python.org/mailman/listinfo/python-list


[issue29429] Requests package is incompatible with py2exe

2017-02-03 Thread INADA Naoki

INADA Naoki added the comment:

Here is issue tracker of Python.
py2exe and requests are third party project.
Please report an issue to py2exe issue tracker.

--
nosy: +inada.naoki
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29429>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29429] Requests package is incompatible with py2exe

2017-02-03 Thread reason

New submission from reason:

I use py2exe to compile some py files importing 'Requests' package into 
executable files user Windows.But I get unexpected exception , 'missing 
modules'.
Even I tried to specify the '-p requests',I still got failure.

--
messages: 286846
nosy: reason
priority: normal
severity: normal
status: open
title: Requests package is incompatible with py2exe
type: behavior
versions: Python 3.3

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29429>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29429] Requests package is incompatible with py2exe

2017-02-03 Thread reason

Changes by reason :


--
versions: +Python 3.4 -Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: py2exe crashes on simple program

2016-07-05 Thread John Nagle
On 7/4/2016 11:13 PM, Steven D'Aprano wrote:
> If you change it to "library.exe" does it work? Also, I consider this
> a bug in py2exe: - it's an abuse of assert, using it to check
> user-supplied input; - it's a failing assertion, which by definition
> is a bug.

   I'm not trying to build "library.zip". That's a work
file py2exe created.  If I delete it, it's re-created by py2exe.

The problem seems to be that my "setup.py" file didn't include
a "console" entry, which tells py2exe the build target.
Apparently, without that py2exe tries to build something bogus and
blows up.

After fixing that, the next error is

Building 'dist\baudotrss.exe'.
error: [Errno 2] No such file or directory: 'C:\\Program
Files\\Python35\\lib\\site-packages\\py2exe\\run-py3.5-win-amd64.exe'

Looks like Pip installed (yesterday) a version of py2exe that doesn't
support Python 3.5.  The py2exe directory contains
"run-py3.3-win-amd64.exe" and "run-py3.4-win-amd64.exe", but
not 3.5 versions.

That's what PyPi says at "https://pypi.python.org/pypi/py2exe;.
The last version of py2exe was uploaded two years ago (2014-05-09)
and is for Python 3.4.  So of course it doesn't have the 3.5 binary
executable it needs.

Known problem. Stack Overflow reports py2exe is now broken for Python
3.5.  Apparently it's a non-trivial fix, too.

http://stackoverflow.com/questions/32963057/is-there-a-py2exe-version-thats-compatible-with-python-3-5

cx_freeze has been suggested as an alternative, but its own
documents indicate it's only been tested through Python 3.4.
Someone reported success with a development version.

I guess people don't create Python executables much.

John Nagle


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: py2exe crashes on simple program

2016-07-05 Thread Steven D'Aprano
On Tuesday 05 July 2016 14:06, John Nagle wrote:

>   I'm trying to create an executable with py2exe.
> The program runs fine in interpretive mode.  But
> when I try to build an executable, py2exe crashes with
> an assertion error. See below.
[...]
> Building shared code archive 'dist\library.zip'.
[...]
> assert mod.__file__.endswith(EXTENSION_SUFFIXES[0])
> AssertionError

To me, that looks like you're trying to build something called "library.zip" 
and .zip isn't an allowed file type extension.

If you change it to "library.exe" does it work?

Also, I consider this a bug in py2exe:

- it's an abuse of assert, using it to check user-supplied input;

- it's a failing assertion, which by definition is a bug.



-- 
Steve

-- 
https://mail.python.org/mailman/listinfo/python-list


py2exe crashes on simple program

2016-07-04 Thread John Nagle
  I'm trying to create an executable with py2exe.
The program runs fine in interpretive mode.  But
when I try to build an executable, py2exe crashes with
an assertion error. See below.

  This is an all-Python program; no binary modules
other than ones that come with the Python 3.5.2
distribution. Running "python setup.py bdist"
works, so "setup.py" is sane.  What's giving
py2exe trouble?

U:\>python setup.py py2exe
running py2exe
running build_py
Building shared code archive 'dist\library.zip'.
Traceback (most recent call last):
  File "setup.py", line 14, in 
packages=['baudotrss'],
  File "C:\Program Files\Python35\lib\distutils\core.py", line 148, in setup
dist.run_commands()
  File "C:\Program Files\Python35\lib\distutils\dist.py", line 955, in
run_commands
self.run_command(cmd)
  File "C:\Program Files\Python35\lib\distutils\dist.py", line 974, in
run_command
cmd_obj.run()
  File "C:\Program
Files\Python35\lib\site-packages\py2exe\distutils_buildexe.py", line
188, in run
    self._run()
  File "C:\Program
Files\Python35\lib\site-packages\py2exe\distutils_buildexe.py", line
268, in _run
builder.build()
  File "C:\Program Files\Python35\lib\site-packages\py2exe\runtime.py",
line 261, in build
self.build_archive(libpath, delete_existing_resources=True)
  File "C:\Program Files\Python35\lib\site-packages\py2exe\runtime.py",
line 426, in build_archive
assert mod.__file__.endswith(EXTENSION_SUFFIXES[0])
AssertionError


Python 3.5.2 / Win7 / AMD64.

John Nagle
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Frozen apps (py2exe, cx_freeze) built with Python 3.5

2015-12-04 Thread Zachary Ware
On Fri, Dec 4, 2015 at 10:37 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> On Fri, Dec 4, 2015 at 10:21 AM, d...@forestfield.co.uk
> <d...@forestfield.co.uk> wrote:
>> Python 3.5 will not run under Windows XP, but what about applications 
>> created using py2exe or cx_freeze under Windows 7, 8 or 10, is there any 
>> knowledge of whether they will run under XP?
>
> I wouldn't expect them to. Those bundlers are just packaging up the
> Python binary, so they should have all the same problems.

I'll confirm that expectation.

-- 
Zach
-- 
https://mail.python.org/mailman/listinfo/python-list


Frozen apps (py2exe, cx_freeze) built with Python 3.5

2015-12-04 Thread d...@forestfield.co.uk
Python 3.5 will not run under Windows XP, but what about applications created 
using py2exe or cx_freeze under Windows 7, 8 or 10, is there any knowledge of 
whether they will run under XP?

Regards,
David Hughes
Forestfield Software
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Frozen apps (py2exe, cx_freeze) built with Python 3.5

2015-12-04 Thread Ian Kelly
On Fri, Dec 4, 2015 at 10:21 AM, d...@forestfield.co.uk
<d...@forestfield.co.uk> wrote:
> Python 3.5 will not run under Windows XP, but what about applications created 
> using py2exe or cx_freeze under Windows 7, 8 or 10, is there any knowledge of 
> whether they will run under XP?

I wouldn't expect them to. Those bundlers are just packaging up the
Python binary, so they should have all the same problems.
-- 
https://mail.python.org/mailman/listinfo/python-list


some problem with scrapy and py2exe

2014-12-08 Thread cdd801
i want to bulit an scrapy project into an exe file with py2exe,but there is a 
error happened after i run the exe-file (for example 'a7cxk.exe')in the cmd ,it 
happened 

Traceback (most recent call last):
  File a7cxk.py, line 2, in module
  File scrapy\__init__.pyc, line 10, in module
  File pkgutil.pyc, line 591, in get_data
IOError: [Errno 2] No such file or directory: 'scrapy\\VERSION'

Anyone can give me some tips ?  thks


my setup.py:
from distutils.core import setup
import glob
setup(
console=[a7cxk.py], 
data_files=[
(config_file, glob.glob(r'D:\python\w7c_first\config_file\conf.ini'))])


then i run it in cmd:
python setup.py py2exe


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Emulating py2exe for python version 3 and above

2014-10-31 Thread Akira Li
Ian Dickinson ianldickinso...@gmail.com writes:

 Can i emulate py2exe for python version 3 and above i also use pygame any
 suggestions for a basic staring script would be greatly appreciated



py2exe supports Python 3.3+ Actually, default installers from pypi
support only Python 3.

I see unofficial pygame's Windows installers for Python 3 at
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame 


--
Akira

-- 
https://mail.python.org/mailman/listinfo/python-list


Emulating py2exe for python version 3 and above

2014-10-29 Thread Ian Dickinson
Can i emulate py2exe for python version 3 and above i also use pygame any
suggestions for a basic staring script would be greatly appreciated


Thanks

Ian
-- 
https://mail.python.org/mailman/listinfo/python-list


py2exe 0.9.2.2 released

2014-10-21 Thread Thomas Heller

py2exe version 0.9.2.2 released
===

`py2exe` is a distutils extension which allows to build standalone
Windows executable programs (32-bit and 64-bit) from Python scripts;
Python 3.3 and later are supported.  It can build console executables,
windows (GUI) executables, windows services, and DLL/EXE COM servers.
(For Python 2.3 - 2.7 the older version 0.6.9 is still available.)

Changes in version 0.9.2.2:

- Added support for six, cffi, pycparser, openssl.

- The cmdline_style options for windows services (py2exe, pywin32,
  custom) should work again.

- Several bugfixes, better error messages.


News for py2exe 0.9.2:

- brand new implementation, written from scratch for Python 3

- py2exe now supports Python 3.3 and 3.4

- can be installed with 'pip' since py2exe is released in wheel format
  (in addition to a source package and bdist_wininst installers)

- less warnings from the build process thanks to a hooks module which
  contains knowledge about some often used packages

- easy start: executables can now be built with a simple command line
  script; no need to write a setup-script from scratch.  In fact a
  commented setup-script can now be autogenerated

- py2exe does now find Python modules even in zipped eggs


Short manual and download at the Python cheeseshop (or simply install
or upgrade it with 'pip install -U py2exe'):

https://pypi.python.org/pypi/py2exe/0.9.2.2/

Enjoy,
Thomas
--
https://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


Re: comparing alternatives to py2exe

2014-09-06 Thread daniel . e . rossy
I found this: https://pypi.python.org/pypi/py2exe/0.9.2.0

Also, thanks for the spreadsheet, it's very useful.
-- 
https://mail.python.org/mailman/listinfo/python-list


py2exe for Python 3 released

2014-05-13 Thread Thomas Heller

Finally there is py2exe for Python3!

`py2exe` is a distutils extension which allows to build standalone
Windows executable programs (32-bit and 64-bit) from Python scripts;
Python 3.3 and later are supported.  It can build console executables,
windows (GUI) executables, windows services, and DLL/EXE COM servers.


News:

- py2exe now supports Python 3.3 and 3.4

- can be installed with 'pip' since py2exe is released in wheel format
  (in addition to a source package and bdist_wininst installers)

- less warnings from the build process thanks to a hooks module which
  contains knowledge about some often used packages

- easy start: executables can now be built with a simple command line
  script; no need to write a setup-script from scratch.  In fact a
  commented setup-script can now be autogenerated

- py2exe does now find Python modules even in zipped eggs


Short manual and download at the Python cheeseshop (or simply install
it with 'pip install py2exe'):

https://pypi.python.org/pypi/py2exe/0.9.2.0/

Enjoy,
Thomas
--
https://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

2013-09-20 Thread Chris Angelico
On Fri, Sep 20, 2013 at 3:14 PM, Gene Heskett ghesk...@wdtv.com wrote:
 Can someone take a look at

 http://www.scorchworks.com/Fengrave/fengrave_setup.html#linux_fengrave

 Then this is what I get:
 gene@coyote:~/src/F-Engrave-1.22_src$ python py2exe_setup.py
 Traceback (most recent call last):
   File py2exe_setup.py, line 4, in module
 import py2exe
 ImportError: No module named py2exe

 And tell me how to fix this so it runs on an older linux box?

The page you link to doesn't mention py2exe anywhere. Where did you
get that you need to run that command?

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

2013-09-20 Thread Gene Heskett
On Friday 20 September 2013 08:48:44 Chris Angelico did opine:

 On Fri, Sep 20, 2013 at 3:14 PM, Gene Heskett ghesk...@wdtv.com wrote:
  Can someone take a look at
  
  http://www.scorchworks.com/Fengrave/fengrave_setup.html#linux_fengrav
  e
  
  Then this is what I get:
  gene@coyote:~/src/F-Engrave-1.22_src$ python py2exe_setup.py
  
  Traceback (most recent call last):
File py2exe_setup.py, line 4, in module

  import py2exe
  
  ImportError: No module named py2exe
  
  And tell me how to fix this so it runs on an older linux box?
 
 The page you link to doesn't mention py2exe anywhere. Where did you
 get that you need to run that command?
 
 ChrisA

From the example command to run the setup, a short script:
gene@coyote:~/src/F-Engrave-1.22_src$ cat py2exe_setup.py
#run this from the command line: python py2exe_setup.py py2exe

from distutils.core import setup
import py2exe

setup(
options = {py2exe: {compressed: 1, optimize: 0, } },
zipfile = None,
console=[{script:f-engrave-122.py,icon_resources:
[(0,fengrave.ico),(0,fengrave.ico)]}]

As shown on the setup page accompanying this

http://www.scorchworks.com/Fengrave/fengrave.html#download, lower left of 
the list at the top of the page.  Supposedly by using the src, I can build 
it with TTF support, which is missing from the file offered in the right 
most python only column.  All the other checks and tests on the setup page 
work, and all the other dependencies appear to have been met.

The setup file itself I find, shouldn't have been included in the zip 
without a README.linux that says to skip it.

The shipped fengrave-122.py actually runs but is not finding any fonts.  
There s/b quite a few installed since I have used TrueTypeTracer 
extensively before.  But I may have my machines mixed, and the computer 
running the milling machine is probably where I did all that.

I haven't had my morning coffee yet, so I am ill equipt to do more ATM.

Thank you.





Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://gene.homelinux.net:6309/gene should be up!

Seize the day, put no trust in the morrow!
-- Quintus Horatius Flaccus (Horace)
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
 law-abiding citizens.
-- 
https://mail.python.org/mailman/listinfo/python-list


Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

2013-09-19 Thread Gene Heskett
Greetings;

Since the missing module is intended for making python stuff run standalone 
on a winderz box, I've no clue why it should be needed to build and make F-
Engrave run on my 10.04.4 LTS box, but it insists on loading it in the 
setup.py script that starts it the first time.

FWIW, cxfreeze is said, by synaptics search function to be the equ of the 
windows py2exe module.

Can someone take a look at 

http://www.scorchworks.com/Fengrave/fengrave_setup.html#linux_fengrave

Then this is what I get:
gene@coyote:~/src/F-Engrave-1.22_src$ python py2exe_setup.py
Traceback (most recent call last):
  File py2exe_setup.py, line 4, in module
import py2exe
ImportError: No module named py2exe

And tell me how to fix this so it runs on an older linux box?

Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://gene.homelinux.net:6309/gene should be up!

Man is an animal that makes bargains: no other animal does this--
no dog exchanges bones with another.
-- Adam Smith
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
 law-abiding citizens.
-- 
https://mail.python.org/mailman/listinfo/python-list


About py2exe bundle_files setting?

2013-05-04 Thread Jimmie He
Hi Guys,
   Now I met an issue to use py2exe when I use bundle_files = 1.As the 
statement by py2exe,it means it will generate standalone EXE in stead of lots 
of .dll  .pyc.But it crash when I use bundle_files = 1 or bundle_files = 
2,if I use =3 it is okey.I 've search this issue by google, it is not the 
Individual case only by me!!! Any guru have the advice for this?I use python 
2.7.4 and the py2exe version is 0.6.9(latest).If anyone have the direction I'll 
share my full package.

Attach my setup.py as below-

from distutils.core import setup
import py2exe


includes = [encodings, encodings.*]   

options = {py2exe:
{compressed: 1,
 optimize: 2,
 ascii: 1,
 includes:includes,
 bundle_files: 3}
}

setup (options = options, zipfile=None, windows=[./Gui.py])
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Steven D'Aprano
On Sat, 04 May 2013 03:37:54 -0700, Jimmie He wrote:

 Hi Guys,
Now I met an issue to use py2exe when I use bundle_files = 1.As the
statement by py2exe,it means it will generate standalone EXE in stead
of lots of .dll  .pyc.But it crash when I use bundle_files = 1 or
bundle_files = 2,if I use =3 it is okey.

It crashes? Do you mean a Blue Screen of Death?

Can you copy and paste the error message that you get please.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Jimmie He
在 2013年5月4日星期六UTC+8下午7时31分04秒,Steven D'Aprano写道:
 On Sat, 04 May 2013 03:37:54 -0700, Jimmie He wrote:
 
 
 
  Hi Guys,
 
 Now I met an issue to use py2exe when I use bundle_files = 1.As the
 
 statement by py2exe,it means it will generate standalone EXE in stead
 
 of lots of .dll  .pyc.But it crash when I use bundle_files = 1 or
 
 bundle_files = 2,if I use =3 it is okey.
 
 
 
 It crashes? Do you mean a Blue Screen of Death?
 
 
 
 Can you copy and paste the error message that you get please.
 
 
 
 
 
 -- 
 
 Steven

Hi Steven,
   I 've already put my project into GitHub,find the link below,in the folder 
Bug,I capture the expection pops up,it is not fatal blue screen.Sorry for my 
non-english windows:-)
https://github.com/jimmiehe/BMPtool/tree/master/Bug
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Jimmie He
在 2013年5月4日星期六UTC+8下午7时31分04秒,Steven D'Aprano写道:
 On Sat, 04 May 2013 03:37:54 -0700, Jimmie He wrote:
 
 
 
  Hi Guys,
 
 Now I met an issue to use py2exe when I use bundle_files = 1.As the
 
 statement by py2exe,it means it will generate standalone EXE in stead
 
 of lots of .dll  .pyc.But it crash when I use bundle_files = 1 or
 
 bundle_files = 2,if I use =3 it is okey.
 
 
 
 It crashes? Do you mean a Blue Screen of Death?
 
 
 
 Can you copy and paste the error message that you get please.
 
 
 
 
 
 -- 
 
 Steven

Hi Steven,
   I 've already put my project into GitHub,find the link below,in the folder 
Bug,I capture the expection pops up,it is not fatal blue screen.Sorry for my 
non-english windows:-)
https://github.com/jimmiehe/BMPtool/tree/master/Bug
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Steven D'Aprano
On Sat, 04 May 2013 04:59:13 -0700, Jimmie He wrote:

I 've already put my project into GitHub,find the link below,in the
folder Bug,I capture the expection pops up,it is not fatal blue
screen.Sorry for my non-english windows:-)
 https://github.com/jimmiehe/BMPtool/tree/master/Bug


I cannot access that page, it just loads as a blank page, then locks up 
my browser. (This is what happens when stupid websites use too much buggy 
javascript for simple things which are best handled by ordinary html.)

Please copy and paste the exception *as text* here, if you can.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Chris Angelico
On Sat, May 4, 2013 at 11:42 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
 On Sat, 04 May 2013 04:59:13 -0700, Jimmie He wrote:

I 've already put my project into GitHub,find the link below,in the
folder Bug,I capture the expection pops up,it is not fatal blue
screen.Sorry for my non-english windows:-)
 https://github.com/jimmiehe/BMPtool/tree/master/Bug


 I cannot access that page, it just loads as a blank page, then locks up
 my browser. (This is what happens when stupid websites use too much buggy
 javascript for simple things which are best handled by ordinary html.)

 Please copy and paste the exception *as text* here, if you can.

It's not a Python exception. The message has just a few words of
English, interspersed with a lot of Chinese, which I am in no way
skilled enough to transcribe, much less translate; the title says
Gui.exe - [###] and the body says:

0x00fb1cb [###] 0x [] written,,
and then two lines of all Chinese.

Hope that's of at least some help! Sorry I can't be more accurate in
the translation.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Jimmie He
在 2013年5月4日星期六UTC+8下午10时50分14秒,Chris Angelico写道:
 On Sat, May 4, 2013 at 11:42 PM, Steven D'Aprano
 
 steve+comp.lang.pyt...@pearwood.info wrote:
 
  On Sat, 04 May 2013 04:59:13 -0700, Jimmie He wrote:
 
 
 
 I 've already put my project into GitHub,find the link below,in the
 
 folder Bug,I capture the expection pops up,it is not fatal blue
 
 screen.Sorry for my non-english windows:-)
 
  https://github.com/jimmiehe/BMPtool/tree/master/Bug
 
 
 
 
 
  I cannot access that page, it just loads as a blank page, then locks up
 
  my browser. (This is what happens when stupid websites use too much buggy
 
  javascript for simple things which are best handled by ordinary html.)
 
 
 
  Please copy and paste the exception *as text* here, if you can.
 
 
 
 It's not a Python exception. The message has just a few words of
 
 English, interspersed with a lot of Chinese, which I am in no way
 
 skilled enough to transcribe, much less translate; the title says
 
 Gui.exe - [###] and the body says:
 
 
 
 0x00fb1cb [###] 0x [] written,,
 
 and then two lines of all Chinese.
 
 
 
 Hope that's of at least some help! Sorry I can't be more accurate in
 
 the translation.
 
 
 
 ChrisA

ChrisA  Steven,
   Let me translet it:-)
 Application error. The instruction at 0x00fb1cb referenced memory at 
0x can not be written It seems miss some lib after package by py2exe.

It is not an python error,which I mean is that after I package my application 
by py2exe(without any error),then I run the target .exe which packaged by 
py2exe, it crashed.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Chris Angelico
On Sun, May 5, 2013 at 1:42 AM, Jimmie He jimmie...@gmail.com wrote:
 在 2013年5月4日星期六UTC+8下午10时50分14秒,Chris Angelico写道:
 On Sat, May 4, 2013 at 11:42 PM, Steven D'Aprano

 steve+comp.lang.pyt...@pearwood.info wrote:

  On Sat, 04 May 2013 04:59:13 -0700, Jimmie He wrote:

 

 I 've already put my project into GitHub,find the link below,in the

 folder Bug,I capture the expection pops up,it is not fatal blue

 screen.Sorry for my non-english windows:-)

  https://github.com/jimmiehe/BMPtool/tree/master/Bug

 

 

  I cannot access that page, it just loads as a blank page, then locks up

  my browser. (This is what happens when stupid websites use too much buggy

  javascript for simple things which are best handled by ordinary html.)

 

  Please copy and paste the exception *as text* here, if you can.



 It's not a Python exception. The message has just a few words of

 English, interspersed with a lot of Chinese, which I am in no way

 skilled enough to transcribe, much less translate; the title says

 Gui.exe - [###] and the body says:



 0x00fb1cb [###] 0x [] written,,

 and then two lines of all Chinese.



 Hope that's of at least some help! Sorry I can't be more accurate in

 the translation.



 ChrisA

 ChrisA  Steven,
Let me translet it:-)
  Application error. The instruction at 0x00fb1cb referenced memory at 
 0x can not be written It seems miss some lib after package by 
 py2exe.

 It is not an python error,which I mean is that after I package my application 
 by py2exe(without any error),then I run the target .exe which packaged by 
 py2exe, it crashed.

Thanks for the translation, Jimmie! I figured it was some sort of C-level crash.

Unfortunately it's fairly non-specific. Are you able to make _any_
program work with py2exe using bundle_files = 1? If you can make a
simple Hello, world work but your current program isn't working, I'd
start looking through the dependencies; if not, I'd check py2exe
itself. But I can't help much there, as I've never used py2exe.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Jimmie He
在 2013年5月4日星期六UTC+8下午11时49分33秒,Chris Angelico写道:
 On Sun, May 5, 2013 at 1:42 AM, Jimmie He jimmie...@gmail.com wrote:
 
  在 2013年5月4日星期六UTC+8下午10时50分14秒,Chris Angelico写道:
 
  On Sat, May 4, 2013 at 11:42 PM, Steven D'Aprano
 
 
 
  steve+comp.lang.pyt...@pearwood.info wrote:
 
 
 
   On Sat, 04 May 2013 04:59:13 -0700, Jimmie He wrote:
 
 
 
  
 
 
 
  I 've already put my project into GitHub,find the link below,in the
 
 
 
  folder Bug,I capture the expection pops up,it is not fatal blue
 
 
 
  screen.Sorry for my non-english windows:-)
 
 
 
   https://github.com/jimmiehe/BMPtool/tree/master/Bug
 
 
 
  
 
 
 
  
 
 
 
   I cannot access that page, it just loads as a blank page, then locks up
 
 
 
   my browser. (This is what happens when stupid websites use too much buggy
 
 
 
   javascript for simple things which are best handled by ordinary html.)
 
 
 
  
 
 
 
   Please copy and paste the exception *as text* here, if you can.
 
 
 
 
 
 
 
  It's not a Python exception. The message has just a few words of
 
 
 
  English, interspersed with a lot of Chinese, which I am in no way
 
 
 
  skilled enough to transcribe, much less translate; the title says
 
 
 
  Gui.exe - [###] and the body says:
 
 
 
 
 
 
 
  0x00fb1cb [###] 0x [] written,,
 
 
 
  and then two lines of all Chinese.
 
 
 
 
 
 
 
  Hope that's of at least some help! Sorry I can't be more accurate in
 
 
 
  the translation.
 
 
 
 
 
 
 
  ChrisA
 
 
 
  ChrisA  Steven,
 
 Let me translet it:-)
 
   Application error. The instruction at 0x00fb1cb referenced memory at 
  0x can not be written It seems miss some lib after package by 
  py2exe.
 
 
 
  It is not an python error,which I mean is that after I package my 
  application by py2exe(without any error),then I run the target .exe which 
  packaged by py2exe, it crashed.
 
 
 
 Thanks for the translation, Jimmie! I figured it was some sort of C-level 
 crash.
 
 
 
 Unfortunately it's fairly non-specific. Are you able to make _any_
 
 program work with py2exe using bundle_files = 1? If you can make a
 
 simple Hello, world work but your current program isn't working, I'd
 
 start looking through the dependencies; if not, I'd check py2exe
 
 itself. But I can't help much there, as I've never used py2exe.
 
 
 
 ChrisA

Hi ChrisA,
   I tested an 'hello world' by the set (bundle_files = 1),it is well worked! 
Yes,maybe due to the dependencies.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: About py2exe bundle_files setting?

2013-05-04 Thread Chris Angelico
On Sun, May 5, 2013 at 2:27 AM, Jimmie He jimmie...@gmail.com wrote:
 在 2013年5月4日星期六UTC+8下午11时49分33秒,Chris Angelico写道:
 Unfortunately it's fairly non-specific. Are you able to make _any_

 program work with py2exe using bundle_files = 1? If you can make a

 simple Hello, world work but your current program isn't working, I'd

 start looking through the dependencies; if not, I'd check py2exe

 itself. But I can't help much there, as I've never used py2exe.


 Hi ChrisA,
I tested an 'hello world' by the set (bundle_files = 1),it is well worked! 
 Yes,maybe due to the dependencies.

Alright! Now starts the progressive search to find out _which_
dependency it is :)

By the way, can you please trim your quoted text? Also, you're
double-spacing it all. This suggests to my mind that you're most
likely using Google Groups, which is hated by quite a few on this list
and defended by a handful; if you can get yourself off it, you'll
likely find a better audience to your posts - as there are some who
hate it enough to filter out everything that comes from there.

If you _must_ use GG, please have a read of this page:

http://wiki.python.org/moin/GoogleGroupsPython

That'll help you avoid some of the problems. If it feels very manual,
that's because it is; I strongly recommend finding a different way to
post.

Chris Angelico
-- 
http://mail.python.org/mailman/listinfo/python-list


py2exe and 64/32 bit windows

2013-04-09 Thread Grant Edwards
Disclaimer: I'm a Unix guy and have been since the days of V7 on a
PDP-11 -- I rarely use MS Windows.

While I don't normally use Windows, I do occasionally have Python
applications (written under Linux) which I'd like to distribute to
Windows users. I've always used py2exe and Inno Setup to that, and
it's always worked OK (after a fair bit of stumbling around).

My Windows partition currently has a 64-bit Windows 7 Ultimate
installation.

I'm told that the executable I generate on that machine won't run on
Win7 32-bit installations.  I'm not surprised by that, but I'd like to
provide 32-bit operability -- and I'm not sure how one does that.

 * If I built an executable on a 32-bit windows system using py2exe,
   would it be usable on a 64-bit install?

 * Is there such a thing as a fat Windows binary that will run on
   both 32 and 64 bit systems?

 * Or do you build separate 32 and 64 bit binaries and rely on the
   installer to pick the right files?  [If Inno Setup can't do that, I
   can probably get somebody else to build the installer using
   something that can.] 

Or do I just wait until MS includs Python/tkinger/wxPython as part of
every Windows install?

-- 
Grant Edwards   grant.b.edwardsYow! Are we live or on
  at   tape?
  gmail.com

  
P.S. Don't tell anybody I can actually write programs that will run
 under MS Windows -- it's a secret.
  
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe and 64/32 bit windows

2013-04-09 Thread Ian Kelly
On Tue, Apr 9, 2013 at 12:17 PM, Grant Edwards invalid@invalid.invalid wrote:
 Disclaimer: I'm a Unix guy and have been since the days of V7 on a
 PDP-11 -- I rarely use MS Windows.

 While I don't normally use Windows, I do occasionally have Python
 applications (written under Linux) which I'd like to distribute to
 Windows users. I've always used py2exe and Inno Setup to that, and
 it's always worked OK (after a fair bit of stumbling around).

 My Windows partition currently has a 64-bit Windows 7 Ultimate
 installation.

 I'm told that the executable I generate on that machine won't run on
 Win7 32-bit installations.  I'm not surprised by that, but I'd like to
 provide 32-bit operability -- and I'm not sure how one does that.

  * If I built an executable on a 32-bit windows system using py2exe,
would it be usable on a 64-bit install?

Yes, 64-bit Windows systems will run 32-bit executables.

  * Is there such a thing as a fat Windows binary that will run on
both 32 and 64 bit systems?

With .NET applications you can choose an AnyCPU build target that will
dynamically select 32-bit or 64-bit at runtime based on the host OS,
but there is no such feature for native applications like CPython.

  * Or do you build separate 32 and 64 bit binaries and rely on the
installer to pick the right files?  [If Inno Setup can't do that, I
can probably get somebody else to build the installer using
something that can.]

You could do that.  The easiest thing to do though is just to make
sure that your 64-bit Windows installation is using a 32-bit Python
installation.  py2exe doesn't really build anything; it just bundles
your source files up with the Python interpreter, so as long as that
interpreter is 32-bit the generated exes should be able to run on
either platform.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe and 64/32 bit windows

2013-04-09 Thread Grant Edwards
On 2013-04-09, Ian Kelly ian.g.ke...@gmail.com wrote:

 My Windows partition currently has a 64-bit Windows 7 Ultimate
 installation.

 I'm told that the executable I generate on that machine won't run on
 Win7 32-bit installations.  I'm not surprised by that, but I'd like
 to provide 32-bit operability -- and I'm not sure how one does that.

  * If I built an executable on a 32-bit windows system using py2exe,
would it be usable on a 64-bit install?

 Yes, 64-bit Windows systems will run 32-bit executables.

OK, that's good to know.

  * Is there such a thing as a fat Windows binary that will run on
both 32 and 64 bit systems?

 With .NET applications you can choose an AnyCPU build target that
 will dynamically select 32-bit or 64-bit at runtime based on the host
 OS, but there is no such feature for native applications like
 CPython.

  * Or do you build separate 32 and 64 bit binaries and rely on the
installer to pick the right files?  [If Inno Setup can't do that, I
can probably get somebody else to build the installer using
something that can.]

 You could do that.  The easiest thing to do though is just to make
 sure that your 64-bit Windows installation is using a 32-bit Python
 installation.  py2exe doesn't really build anything; it just bundles
 your source files up with the Python interpreter, so as long as that
 interpreter is 32-bit the generated exes should be able to run on
 either platform.

Cool, I'll try that.

Are there any drawbacks to running a 32-bit Python install on a 64-bit
machine?

Can you have both 32 and 64 bit Python installed at the same time?

-- 
Grant Edwards   grant.b.edwardsYow! Is it clean in other
  at   dimensions?
  gmail.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe and 64/32 bit windows

2013-04-09 Thread Ian Kelly
On Tue, Apr 9, 2013 at 1:45 PM, Grant Edwards invalid@invalid.invalid wrote:
 Are there any drawbacks to running a 32-bit Python install on a 64-bit
 machine?

Apart from still being limited to a 2-GB address space, nothing that
I'm aware of.

 Can you have both 32 and 64 bit Python installed at the same time?

Absolutely.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe and 64/32 bit windows

2013-04-09 Thread Benjamin Kaplan
On Apr 9, 2013 12:53 PM, Grant Edwards invalid@invalid.invalid wrote:

 On 2013-04-09, Ian Kelly ian.g.ke...@gmail.com wrote:

  My Windows partition currently has a 64-bit Windows 7 Ultimate
  installation.
 
  I'm told that the executable I generate on that machine won't run on
  Win7 32-bit installations.  I'm not surprised by that, but I'd like
  to provide 32-bit operability -- and I'm not sure how one does that.
 
   * If I built an executable on a 32-bit windows system using py2exe,
 would it be usable on a 64-bit install?
 
  Yes, 64-bit Windows systems will run 32-bit executables.

 OK, that's good to know.

   * Is there such a thing as a fat Windows binary that will run on
 both 32 and 64 bit systems?
 
  With .NET applications you can choose an AnyCPU build target that
  will dynamically select 32-bit or 64-bit at runtime based on the host
  OS, but there is no such feature for native applications like
  CPython.
 
   * Or do you build separate 32 and 64 bit binaries and rely on the
 installer to pick the right files?  [If Inno Setup can't do that, I
 can probably get somebody else to build the installer using
 something that can.]
 
  You could do that.  The easiest thing to do though is just to make
  sure that your 64-bit Windows installation is using a 32-bit Python
  installation.  py2exe doesn't really build anything; it just bundles
  your source files up with the Python interpreter, so as long as that
  interpreter is 32-bit the generated exes should be able to run on
  either platform.

 Cool, I'll try that.

 Are there any drawbacks to running a 32-bit Python install on a 64-bit
 machine?

 Can you have both 32 and 64 bit Python installed at the same time?

 --
 Grant Edwards   grant.b.edwardsYow! Is it clean in
other
   at   dimensions?
   gmail.com
 --

There aren't any drawbacks besides the usual 32-bit limitations (the memory
limit and you can't load 64-bit libs from a 32-bit exe). You can run both
32-bit and 64-bit python side by side.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe is on Sourceforge list of top growth projects

2012-12-18 Thread Colin J. Williams

On 18/12/2012 1:52 AM, Frank Millman wrote:

This is from Sourceforge's monthly update -

quote

Top Growth Projects

We're always on the lookout for projects that might be doing interesting
things, and a surge in downloads is one of many metrics that we look at
to identify them. Here's the projects that had the greatest growth in
the last month.

[...]

py2exe: A distutils extension to create standalone Windows programs from
python scripts.

/quote

It is 19th on a list of 19, but still, it is nice to see. I wonder if
there was any particular reason for that?

Frank Millman


Yes, but py2exe appears limited to Python 2.6.

PyInstaller is another option with similar functionality.

Colin W.
--
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe is on Sourceforge list of top growth projects

2012-12-18 Thread Vlastimil Brom
2012/12/18 Colin J. Williams c...@ncf.ca:
...
 Yes, but py2exe appears limited to Python 2.6.

 PyInstaller is another option with similar functionality.

 Colin W.
 --
 http://mail.python.org/mailman/listinfo/python-list

There are versions for python 2.3 - 2.7:
http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/
(for some reason, 2.6 appears in a more visible link)

However, unfortunately, there isn't any support for python 3 (that I
know of - I'd love to be wrong in this).

vbr
-- 
http://mail.python.org/mailman/listinfo/python-list


py2exe is on Sourceforge list of top growth projects

2012-12-17 Thread Frank Millman

This is from Sourceforge's monthly update -

quote

Top Growth Projects

We're always on the lookout for projects that might be doing interesting 
things, and a surge in downloads is one of many metrics that we look at 
to identify them. Here's the projects that had the greatest growth in 
the last month.


[...]

py2exe: A distutils extension to create standalone Windows programs from 
python scripts.


/quote

It is 19th on a list of 19, but still, it is nice to see. I wonder if 
there was any particular reason for that?


Frank Millman

--
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe with python 3.x

2012-11-06 Thread Tobias Marquardt

Am 05.11.2012 20:39, schrieb Kwpolska:

On Mon, Nov 5, 2012 at 8:34 PM, Monkey pascalwinkelma...@gmail.com wrote:

Hi,
i wonderd if there is a way to convert a py-file to a exe-file with version 3.x 
of python.

I know that it was possible till version 2.7.x. But is there a way to do it in 
version 3.x?

Yours sincerely,
Monkey
--
http://mail.python.org/mailman/listinfo/python-list

Use cx_Freeze: http://cx-freeze.sourceforge.net/

cx_Freeze is great as far as you don't need to use the latest Python 
version 3.3.0, because there is still a bug:

http://sourceforge.net/p/cx-freeze/bugs/33/
I hope this will be fixed soon...
--
http://mail.python.org/mailman/listinfo/python-list


py2exe with python 3.x

2012-11-05 Thread Monkey
Hi, 
i wonderd if there is a way to convert a py-file to a exe-file with version 3.x 
of python.

I know that it was possible till version 2.7.x. But is there a way to do it in 
version 3.x?

Yours sincerely,
Monkey
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe with python 3.x

2012-11-05 Thread Kwpolska
On Mon, Nov 5, 2012 at 8:34 PM, Monkey pascalwinkelma...@gmail.com wrote:
 Hi,
 i wonderd if there is a way to convert a py-file to a exe-file with version 
 3.x of python.

 I know that it was possible till version 2.7.x. But is there a way to do it 
 in version 3.x?

 Yours sincerely,
 Monkey
 --
 http://mail.python.org/mailman/listinfo/python-list

Use cx_Freeze: http://cx-freeze.sourceforge.net/

-- 
Kwpolska http://kwpolska.tk
stop html mail  | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html
GPG KEY: 5EAAEA16
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe deal with python command line inside a program

2012-09-28 Thread Miki Tebeka
 sys.executable was printed out as ''C:\\Python25\\python.exe'', how
 can I make this work in executable package through py2exe?
Does http://www.py2exe.org/index.cgi/WhereAmI help?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe deal with python command line inside a program

2012-09-27 Thread gairehari
Hi, have you been able to solve this problem ??
-- 
http://mail.python.org/mailman/listinfo/python-list


Making sense of a traceback from py2exe

2012-08-30 Thread Jonno
Not sure where the best place to post this is. My app uses wxpython,
matplotlib.
I'm running Python 2.7 on Windows 7.
I have a script app.py that I'm trying to turn into app.exe using py2exe.
The exe runs fine on the pc that it was compiled on but on another Win7
machine I get something like the following in the app.exe.log:

Traceback (most recent call last):
  File app.py, line 1951, in module
  File wx\_core.pyo, line 7981, in __init__
  File wx\_core.pyo, line 7555, in _BootstrapApp
  File app.py, line 1944, in OnInit
  File app.py, line 1811, in __init__
  File matplotlib\backends\backend_wxagg.pyo, line 59, in draw
  File matplotlib\backends\backend_agg.pyo, line 401, in draw
  File matplotlib\artist.pyo, line 55, in draw_wrapper
  File matplotlib\figure.pyo, line 884, in draw
  File matplotlib\artist.pyo, line 55, in draw_wrapper
  File matplotlib\axes.pyo, line 1983, in draw
  File matplotlib\artist.pyo, line 55, in draw_wrapper
  File matplotlib\text.pyo, line 526, in draw
  File matplotlib\text.pyo, line 309, in _get_layout
  File matplotlib\backends\backend_agg.pyo, line 179, in
get_text_width_height_descent
  File matplotlib\mathtext.pyo, line 2974, in parse
  File matplotlib\mathtext.pyo, line 2352, in parse
  File matplotlib\pyparsing.pyo, line 1048, in parseString
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2559, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2307, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2679, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2307, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2756, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2714, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2373, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2559, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2416, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2559, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2559, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2416, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2293, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2756, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2559, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2373, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
  File matplotlib\pyparsing.pyo, line 2416, in parseImpl
  File matplotlib\pyparsing.pyo, line 981, in _parseCache
  File matplotlib\pyparsing.pyo, line 950, in _parseNoCache
  File matplotlib\mathtext.pyo, line 2469, in symbol
  File matplotlib\mathtext.pyo, line 1312, in __init__
  File matplotlib\mathtext.pyo, line 1319, in _update_metrics
  File matplotlib\mathtext.pyo, line 485, in get_metrics
  File matplotlib\mathtext.pyo, line 618, in _get_info
  File matplotlib\mathtext.pyo, line 720, in _get_glyph
KeyError: 98
Traceback (most recent call last):
  File wx\_core.pyo, line 14669, in lambda
  File app.py, line 826, in _init_panels
AttributeError: 'MyApp' object has no attribute 'frame'

I need some help picking apart the Traceback.

Why are there two tracebacks

Re: Making sense of a traceback from py2exe

2012-08-30 Thread Jonno
On Thu, Aug 30, 2012 at 3:11 PM, Jonno jonnojohn...@gmail.com wrote:

 Not sure where the best place to post this is. My app uses wxpython,
 matplotlib.
 I'm running Python 2.7 on Windows 7.
 I have a script app.py that I'm trying to turn into app.exe using py2exe.
 The exe runs fine on the pc that it was compiled on but on another Win7
 machine I get something like the following in the app.exe.log:

 Traceback (most recent call last):
   File app.py, line 1951, in module
   File wx\_core.pyo, line 7981, in __init__
   File wx\_core.pyo, line 7555, in _BootstrapApp
   File app.py, line 1944, in OnInit
   File app.py, line 1811, in __init__
   File matplotlib\backends\backend_wxagg.pyo, line 59, in draw
   File matplotlib\backends\backend_agg.pyo, line 401, in draw
   File matplotlib\artist.pyo, line 55, in draw_wrapper
   File matplotlib\figure.pyo, line 884, in draw
   File matplotlib\artist.pyo, line 55, in draw_wrapper
   File matplotlib\axes.pyo, line 1983, in draw
   File matplotlib\artist.pyo, line 55, in draw_wrapper
   File matplotlib\text.pyo, line 526, in draw
   File matplotlib\text.pyo, line 309, in _get_layout
   File matplotlib\backends\backend_agg.pyo, line 179, in
 get_text_width_height_descent
   File matplotlib\mathtext.pyo, line 2974, in parse
   File matplotlib\mathtext.pyo, line 2352, in parse
   File matplotlib\pyparsing.pyo, line 1048, in parseString
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2559, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2307, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2679, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2307, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2756, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2714, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2373, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2559, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2416, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2559, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2559, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2416, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2293, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2756, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2559, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2373, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 924, in _parseNoCache
   File matplotlib\pyparsing.pyo, line 2416, in parseImpl
   File matplotlib\pyparsing.pyo, line 981, in _parseCache
   File matplotlib\pyparsing.pyo, line 950, in _parseNoCache
   File matplotlib\mathtext.pyo, line 2469, in symbol
   File matplotlib\mathtext.pyo, line 1312, in __init__
   File matplotlib\mathtext.pyo, line 1319, in _update_metrics
   File matplotlib\mathtext.pyo, line 485, in get_metrics
   File matplotlib\mathtext.pyo, line 618, in _get_info
   File matplotlib\mathtext.pyo, line 720, in _get_glyph
 KeyError: 98
 Traceback (most recent call last):
   File wx\_core.pyo, line 14669, in lambda
   File app.py

Re: Making sense of a traceback from py2exe

2012-08-30 Thread Jonno
On Thu, Aug 30, 2012 at 4:02 PM, Jonno jonnojohn...@gmail.com wrote:


 Well I managed to figure out that the first traceback is the one causing
 the problem and that matplotlib/mathtext in my app is the problem.
 Now to figure out how to get mathtext working.


Bit more information:
I am also seeing warnings in app.exe.log:
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['STIXGeneral'] not found. Falling back
to Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1226:
UserWarning: findfont: Could not match :family=Bitstream Vera
Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=12.
Returning c:\windows\fonts\browai.ttf
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['STIXSizeOneSym'] not found. Falling
back to Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1226:
UserWarning: findfont: Could not match :family=Bitstream Vera
Sans:style=normal:variant=normal:weight=bold:stretch=normal:size=12.
Returning c:\windows\fonts\browai.ttf
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['STIXSizeThreeSym'] not found. Falling
back to Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['STIXSizeFourSym'] not found. Falling
back to Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['STIXSizeFiveSym'] not found. Falling
back to Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['STIXSizeTwoSym'] not found. Falling
back to Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1226:
UserWarning: findfont: Could not match :family=Bitstream Vera
Sans:style=italic:variant=normal:weight=normal:stretch=normal:size=12.
Returning c:\windows\fonts\browai.ttf
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['STIXNonUnicode'] not found. Falling
back to Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['cmb10'] not found. Falling back to
Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['cmtt10'] not found. Falling back to
Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['cmmi10'] not found. Falling back to
Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['cmex10'] not found. Falling back to
Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['cmsy10'] not found. Falling back to
Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['cmr10'] not found. Falling back to
Bitstream Vera Sans
C:\Users\Administrator\Desktop\dist\library.zip\matplotlib\font_manager.py:1216:
UserWarning: findfont: Font family ['cmss10'] not found. Falling back to
Bitstream Vera Sans

I think these are all fonts that matplotlib/mathtext would use so it makes
sense that the traceback ends with:
File matplotlib\mathtext.pyo, line 720, in _get_glyph
KeyError: 98

I then discovered that both the methods I tried for getting data_files
(using glob and matplotlib.get_py2exe_datafiles) were not working and I had
nothing in my mpl-data/fonts directory. This directory should contain 3
folders: afm, pdfcorefonts  ttf. The ttf folder is where the mathtext
fonts mentioned above are located.

I then tried manually copying the entire mpl-data folder into the dist
folder after running py2exe on setup.py but still I get the same error.

Does data_files do anything other than include files and directories in the
dist folder?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: exe made by py2exe do not run certain computer

2012-07-03 Thread Miki Tebeka
 It works fine on my computer and some other computer don't have python 
 interpreter(it's Windows 7).
 But the same file also do not work on another computer(it's Windows xp)
 why does it happen?
My *guess* is that you're missing some DLLs (probably some Visual Studio 
runtime ones).

You can run http://www.dependencywalker.com/ on the generated exe and see which 
DLLs it uses. If you do it on the machine with the problems, these DLLs will be 
highlighted.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: exe made by py2exe do not run certain computer

2012-07-03 Thread Mark Hammond

On 4/07/2012 9:46 AM, Miki Tebeka wrote:

It works fine on my computer and some other computer don't have
python interpreter(it's Windows 7). But the same file also do not
work on another computer(it's Windows xp) why does it happen?

My *guess* is that you're missing some DLLs (probably some Visual
Studio runtime ones).

You can run http://www.dependencywalker.com/ on the generated exe and
see which DLLs it uses. If you do it on the machine with the
problems, these DLLs will be highlighted.


Another possibility is that py2exe is erroneously picking up *other* 
DLLs from the OS, which you are packaging and installing.  So check your 
distribution for *all* .dll files - most Python extension modules are 
.pyd, so the actual number of .dll files needed should be quite small 
and relatively stable across different py2exe invocations.


Mark


--
http://mail.python.org/mailman/listinfo/python-list


How to package a gui with py2exe

2011-08-17 Thread Benji Ara.
Hello
I wonder how you package a Tkinter gui with py2exe?
Thanks
Benji


*
*
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How to package a gui with py2exe

2011-08-17 Thread Vlastimil Brom
2011/8/17 Benji Ara. benjo...@gmail.com:
 Hello
 I wonder how you package a Tkinter gui with py2exe?
 Thanks
 Benji





 --
 http://mail.python.org/mailman/listinfo/python-list



Hi,
check the necessary steps on the py2exe homepage
http://www.py2exe.org/index.cgi/Tutorial

in your setup script, you have to use something like the following for
a gui app:

setup(windows=[gui_hello.py])

instead of console in the sample code
setup(console=['hello.py'])

For more details there are some dedicated pages on the project wiki:
http://www.py2exe.org/index.cgi/FrontPage

hth,
   vbr
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: reportlab import error after dundled using py2exe

2011-07-26 Thread SANKAR .
your suggestion worked.Thanks Robin.

-Sankar

On Mon, Jul 25, 2011 at 8:28 PM, Robin Becker ro...@reportlab.com wrote:

 On 22/07/2011 03:55, SANKAR . wrote:

 Hi all,

 


 C:\Python26\distDELchek.exe
 Traceback (most recent call last):
 File DELchek.py, line 12, inmodule
 File reportlab\pdfgen\canvas.pyc, line 25, in
 File reportlab\pdfbase\pdfdoc.pyc**, line 22, in
 File reportlab\pdfbase\pdfmetrics.**pyc, line 23,
 File reportlab\pdfbase\_fontdata.**pyc, line 158,
 ImportError: No module named _fontdata_enc_winansi

 But I could see the '_fontdata_enc_winansi' module in reportlab folder.
 Could someone help me to fix this.

 .
 You can try asking this in the reportlab list

 reportlab-users@lists2.**reportlab.comreportlab-us...@lists2.reportlab.com

 but perhaps this is more about py2exe than reportlab. The modules
 _fontdata_enc_*  _fontdata_widths_* are imported dynamically in
 _fontdata.py rather than explicitly. I suspect that py2exe needs to be given
 a hint that this is going on. However, I'm uncertain as to why this should
 be required since even if the imports are being dynamically imported that is
 done as soon as _fontdata is imported (ie it's part of the module code) so
 those modules should be seen by the setup.py.

 If you don't have reportlab explicitly imported as part of the packages try
 adding this to the packages list

packages=[

 ..**..


'reportlab',
'reportlab.graphics.charts',
'reportlab.graphics.samples',
'reportlab.graphics.widgets',
'reportlab.graphics.barcode',
'reportlab.graphics',
'reportlab.lib',
'reportlab.pdfbase',
'reportlab.pdfgen',
'reportlab.platypus',
],


 that's what we use to make the distributions and seems to work.
 --
 Robin Becker

 --
 http://mail.python.org/**mailman/listinfo/python-listhttp://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: reportlab import error after dundled using py2exe

2011-07-25 Thread Robin Becker

On 22/07/2011 03:55, SANKAR . wrote:

Hi all,





C:\Python26\distDELchek.exe
Traceback (most recent call last):
File DELchek.py, line 12, inmodule
File reportlab\pdfgen\canvas.pyc, line 25, in
File reportlab\pdfbase\pdfdoc.pyc, line 22, in
File reportlab\pdfbase\pdfmetrics.pyc, line 23,
File reportlab\pdfbase\_fontdata.pyc, line 158,
ImportError: No module named _fontdata_enc_winansi

But I could see the '_fontdata_enc_winansi' module in reportlab folder.
Could someone help me to fix this.


.
You can try asking this in the reportlab list

reportlab-us...@lists2.reportlab.com

but perhaps this is more about py2exe than reportlab. The modules 
_fontdata_enc_*  _fontdata_widths_* are imported dynamically in _fontdata.py 
rather than explicitly. I suspect that py2exe needs to be given a hint that this 
is going on. However, I'm uncertain as to why this should be required since even 
if the imports are being dynamically imported that is done as soon as _fontdata 
is imported (ie it's part of the module code) so those modules should be seen by 
the setup.py.


If you don't have reportlab explicitly imported as part of the packages try 
adding this to the packages list


packages=[




'reportlab',
'reportlab.graphics.charts',
'reportlab.graphics.samples',
'reportlab.graphics.widgets',
'reportlab.graphics.barcode',
'reportlab.graphics',
'reportlab.lib',
'reportlab.pdfbase',
'reportlab.pdfgen',
'reportlab.platypus',
],


that's what we use to make the distributions and seems to work.
--
Robin Becker

--
http://mail.python.org/mailman/listinfo/python-list


Re: Tkinter/py2exe with installer

2011-07-25 Thread John Posner
On 2:59 PM, Kevin Walzer wrote:
 Can anyone point me in the direction of a Tkinter/Python app that has
 been wrapped with py2exe and is deployed on Windows as a standalone
 using one of the standard installer tools? (MSI, NSIS, Inno Setup,
 etc.) I'm working on a Tkinter app for Windows and have had a
 surprisingly hard time finding such apps to use as
 examples/benchmarks, etc. (The only one I've found, in fact, is
 Webgobbler at http://sebsauvage.net/python/webgobbler/index.html; a
 nice app, but I'd like more examples.)

I used Inno Setup 5.4.0(a) to create the ClixTur executable at
http://www.jjposner.net/5273.html

Inno Setup gives the executable an execrable name (looks like a GUID),
but it works fine.

HTH,
John

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Tkinter/py2exe with installer

2011-07-25 Thread John Posner
On 2:59 PM, Kevin Walzer wrote:
 Can anyone point me in the direction of a Tkinter/Python app that has
 been wrapped with py2exe and is deployed on Windows as a standalone
 using one of the standard installer tools? (MSI, NSIS, Inno Setup,
 etc.) I'm working on a Tkinter app for Windows and have had a
 surprisingly hard time finding such apps to use as
 examples/benchmarks, etc. (The only one I've found, in fact, is
 Webgobbler at http://sebsauvage.net/python/webgobbler/index.html; a
 nice app, but I'd like more examples.)


I used Inno Setup 5.4.0(a) to create the ClixTur executable at
http://www.jjposner.net/5273.html

Inno Setup gives the .exe file a GUID for a name (ugh!) but it works fine.

HTH,
John

-- 
http://mail.python.org/mailman/listinfo/python-list


Tkinter/py2exe with installer

2011-07-24 Thread Kevin Walzer
Can anyone point me in the direction of a Tkinter/Python app that has 
been wrapped with py2exe and is deployed on Windows as a standalone 
using one of the standard installer tools? (MSI, NSIS, Inno Setup, etc.) 
I'm working on a Tkinter app for Windows and have had a surprisingly 
hard time finding such apps to use as examples/benchmarks, etc. (The 
only one I've found, in fact, is Webgobbler at 
http://sebsauvage.net/python/webgobbler/index.html; a nice app, but I'd 
like more examples.)


--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list


reportlab import error after dundled using py2exe

2011-07-21 Thread SANKAR .
Hi all,

I bundled a small script written in python using py2exe. The script uses
many packages and one of them is  reportlab.
After bundling using py2exe  I tried to run the exe file and it is
returning following error:

C:\Python26\distDELchek.exe
Traceback (most recent call last):
File DELchek.py, line 12, in module
File reportlab\pdfgen\canvas.pyc, line 25, in 
File reportlab\pdfbase\pdfdoc.pyc, line 22, in
File reportlab\pdfbase\pdfmetrics.pyc, line 23,
File reportlab\pdfbase\_fontdata.pyc, line 158,
ImportError: No module named _fontdata_enc_winansi

But I could see the '_fontdata_enc_winansi' module in reportlab folder.
Could someone help me to fix this.

Your help is much appreciated.

Thanks
Sankar
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: The following modules appear to be missing - py2exe

2011-07-20 Thread miamia
hello, thanks for your answer.

  From the stuff below, you appear to be compiling for Windows.
yes


  The following modules appear to be missing
  ['Carbon', 'Carbon.Files',
 This is Mac gui stuff which you neither need nor want in a Windows
 binary. I suspect mis-specification somewhere.

ok so this is not necessary.


   '_scproxy', 'fixedpoint', 'gdk', 'mx', 'unix', 'glib.

 compiling with gcc? You appear to be missing its glib.

I compile with py2exe and have no idea how to retrieve missing libs. I
tried to ask at
http://sourceforge.net/mailarchive/forum.php?thread_name=CABFuWSwv76-Hz-fNrqN_2__%2Bb7ZpPuBb%3DT%2B-i0-MF%2BJvjj8Fqg%40mail.gmail.comforum_name=py2exe-users
as well and Dieter responded it is py2exe troubles with gdk and glib
packages.
-- 
http://mail.python.org/mailman/listinfo/python-list


The following modules appear to be missing - py2exe

2011-07-19 Thread Peter Irbizon
Hello, please I have problem with The following modules appear to be
missing message during compiling my app exe file with py2exe. What should I
do with this? Many thanks in advance.


The following modules appear to be missing
['Carbon', 'Carbon.Files', '_scproxy', 'fixedpoint', 'gdk', 'mx', 'unix',
'glib.
GError', 'glib.IOChannel', 'glib.IO_ERR', 'glib.IO_FLAG_APPEND',
'glib.IO_FLAG_G
ET_MASK', 'glib.IO_FLAG_IS_READABLE', 'glib.IO_FLAG_IS_SEEKABLE',
'glib.IO_FLAG_
IS_WRITEABLE', 'glib.IO_FLAG_MASK', 'glib.IO_FLAG_NONBLOCK',
'glib.IO_FLAG_SET_M
ASK', 'glib.IO_HUP', 'glib.IO_IN', 'glib.IO_NVAL', 'glib.IO_OUT',
'glib.IO_PRI',
 'glib.IO_STATUS_AGAIN', 'glib.IO_STATUS_EOF', 'glib.IO_STATUS_ERROR',
'glib.IO_
STATUS_NORMAL', 'glib.Idle', 'glib.MainContext', 'glib.MainLoop',
'glib.OPTION_E
RROR', 'glib.OPTION_ERROR_BAD_VALUE', 'glib.OPTION_ERROR_FAILED',
'glib.OPTION_E
RROR_UNKNOWN_OPTION', 'glib.OPTION_FLAG_FILENAME',
'glib.OPTION_FLAG_HIDDEN', 'g
lib.OPTION_FLAG_IN_MAIN', 'glib.OPTION_FLAG_NOALIAS',
'glib.OPTION_FLAG_NO_ARG',
 'glib.OPTION_FLAG_OPTIONAL_ARG', 'glib.OPTION_FLAG_REVERSE',
'glib.OPTION_REMAI
NING', 'glib.OptionContext', 'glib.OptionGroup', 'glib.PRIORITY_DEFAULT',
'glib.
PRIORITY_DEFAULT_IDLE', 'glib.PRIORITY_HIGH', 'glib.PRIORITY_HIGH_IDLE',
'glib.P
RIORITY_LOW', 'glib.Pid', 'glib.PollFD', 'glib.SPAWN_CHILD_INHERITS_STDIN',
'gli
b.SPAWN_DO_NOT_REAP_CHILD', 'glib.SPAWN_FILE_AND_ARGV_ZERO',
'glib.SPAWN_LEAVE_D
ESCRIPTORS_OPEN', 'glib.SPAWN_SEARCH_PATH', 'glib.SPAWN_STDERR_TO_DEV_NULL',
'gl
ib.SPAWN_STDOUT_TO_DEV_NULL', 'glib.Source', 'glib.Timeout',
'glib.child_watch_a
dd', 'glib.filename_display_basename', 'glib.filename_display_name',
'glib.filen
ame_from_utf8', 'glib.get_application_name', 'glib.get_current_time',
'glib.get_
prgname', 'glib.glib_version', 'glib.idle_add', 'glib.io_add_watch',
'glib.main_
context_default', 'glib.main_depth', 'glib.markup_escape_text',
'glib.set_applic
ation_name', 'glib.set_prgname', 'glib.source_remove', 'glib.spawn_async',
'glib
.timeout_add', 'glib.timeout_add_seconds', 'glib.uri_list_extract_uris']

*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.

   USP10.DLL - C:\WINDOWS\system32\USP10.DLL
   OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
   USER32.dll - C:\WINDOWS\system32\USER32.dll
   POWRPROF.dll - C:\WINDOWS\system32\POWRPROF.dll
   SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
   ole32.dll - C:\WINDOWS\system32\ole32.dll
   SHLWAPI.DLL - C:\WINDOWS\system32\SHLWAPI.DLL
   COMDLG32.DLL - C:\WINDOWS\system32\COMDLG32.DLL
   ADVAPI32.DLL - C:\WINDOWS\system32\ADVAPI32.DLL
   msvcrt.dll - C:\WINDOWS\system32\msvcrt.dll
   WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
   WINSPOOL.DRV - C:\WINDOWS\system32\WINSPOOL.DRV
   GDI32.dll - C:\WINDOWS\system32\GDI32.dll
   DNSAPI.DLL - C:\WINDOWS\system32\DNSAPI.DLL
   VERSION.dll - C:\WINDOWS\system32\VERSION.dll
   KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
   IMM32.DLL - C:\WINDOWS\system32\IMM32.DLL
   COMCTL32.DLL - C:\WINDOWS\system32\COMCTL32.DLL
   MSIMG32.DLL - C:\WINDOWS\system32\MSIMG32.DLL
   MPR.dll - C:\WINDOWS\system32\MPR.dll
   gdiplus.dll - C:\WINDOWS\system32\gdiplus.dll
-- 
http://mail.python.org/mailman/listinfo/python-list


The following modules appear to be missing - py2exe

2011-07-19 Thread miamia
Hello, please I have problem with The following modules appear to be
missing message during compiling my app exe file with py2exe. What
should I do with this? Many thanks in advance.


The following modules appear to be missing
['Carbon', 'Carbon.Files', '_scproxy', 'fixedpoint', 'gdk', 'mx',
'unix', 'glib.
GError', 'glib.IOChannel', 'glib.IO_ERR', 'glib.IO_FLAG_APPEND',
'glib.IO_FLAG_G
ET_MASK', 'glib.IO_FLAG_IS_READABLE', 'glib.IO_FLAG_IS_SEEKABLE',
'glib.IO_FLAG_
IS_WRITEABLE', 'glib.IO_FLAG_MASK', 'glib.IO_FLAG_NONBLOCK',
'glib.IO_FLAG_SET_M
ASK', 'glib.IO_HUP', 'glib.IO_IN', 'glib.IO_NVAL', 'glib.IO_OUT',
'glib.IO_PRI',
 'glib.IO_STATUS_AGAIN', 'glib.IO_STATUS_EOF', 'glib.IO_STATUS_ERROR',
'glib.IO_
STATUS_NORMAL', 'glib.Idle', 'glib.MainContext', 'glib.MainLoop',
'glib.OPTION_E
RROR', 'glib.OPTION_ERROR_BAD_VALUE', 'glib.OPTION_ERROR_FAILED',
'glib.OPTION_E
RROR_UNKNOWN_OPTION', 'glib.OPTION_FLAG_FILENAME',
'glib.OPTION_FLAG_HIDDEN', 'g
lib.OPTION_FLAG_IN_MAIN', 'glib.OPTION_FLAG_NOALIAS',
'glib.OPTION_FLAG_NO_ARG',
 'glib.OPTION_FLAG_OPTIONAL_ARG', 'glib.OPTION_FLAG_REVERSE',
'glib.OPTION_REMAI
NING', 'glib.OptionContext', 'glib.OptionGroup',
'glib.PRIORITY_DEFAULT', 'glib.
PRIORITY_DEFAULT_IDLE', 'glib.PRIORITY_HIGH',
'glib.PRIORITY_HIGH_IDLE', 'glib.P
RIORITY_LOW', 'glib.Pid', 'glib.PollFD',
'glib.SPAWN_CHILD_INHERITS_STDIN', 'gli
b.SPAWN_DO_NOT_REAP_CHILD', 'glib.SPAWN_FILE_AND_ARGV_ZERO',
'glib.SPAWN_LEAVE_D
ESCRIPTORS_OPEN', 'glib.SPAWN_SEARCH_PATH',
'glib.SPAWN_STDERR_TO_DEV_NULL', 'gl
ib.SPAWN_STDOUT_TO_DEV_NULL', 'glib.Source', 'glib.Timeout',
'glib.child_watch_a
dd', 'glib.filename_display_basename', 'glib.filename_display_name',
'glib.filen
ame_from_utf8', 'glib.get_application_name', 'glib.get_current_time',
'glib.get_
prgname', 'glib.glib_version', 'glib.idle_add', 'glib.io_add_watch',
'glib.main_
context_default', 'glib.main_depth', 'glib.markup_escape_text',
'glib.set_applic
ation_name', 'glib.set_prgname', 'glib.source_remove',
'glib.spawn_async', 'glib
.timeout_add', 'glib.timeout_add_seconds',
'glib.uri_list_extract_uris']

*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating
system.

   USP10.DLL - C:\WINDOWS\system32\USP10.DLL
   OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
   USER32.dll - C:\WINDOWS\system32\USER32.dll
   POWRPROF.dll - C:\WINDOWS\system32\POWRPROF.dll
   SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
   ole32.dll - C:\WINDOWS\system32\ole32.dll
   SHLWAPI.DLL - C:\WINDOWS\system32\SHLWAPI.DLL
   COMDLG32.DLL - C:\WINDOWS\system32\COMDLG32.DLL
   ADVAPI32.DLL - C:\WINDOWS\system32\ADVAPI32.DLL
   msvcrt.dll - C:\WINDOWS\system32\msvcrt.dll
   WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
   WINSPOOL.DRV - C:\WINDOWS\system32\WINSPOOL.DRV
   GDI32.dll - C:\WINDOWS\system32\GDI32.dll
   DNSAPI.DLL - C:\WINDOWS\system32\DNSAPI.DLL
   VERSION.dll - C:\WINDOWS\system32\VERSION.dll
   KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
   IMM32.DLL - C:\WINDOWS\system32\IMM32.DLL
   COMCTL32.DLL - C:\WINDOWS\system32\COMCTL32.DLL
   MSIMG32.DLL - C:\WINDOWS\system32\MSIMG32.DLL
   MPR.dll - C:\WINDOWS\system32\MPR.dll
   gdiplus.dll - C:\WINDOWS\system32\gdiplus.dll
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: The following modules appear to be missing - py2exe

2011-07-19 Thread Noon Silk
On Tue, Jul 19, 2011 at 7:47 PM, Peter Irbizon peterirbi...@gmail.com wrote:
 Hello, please I have problem with The following modules appear to be
 missing message during compiling my app exe file with py2exe. What should I
 do with this? Many thanks in advance.

 The following modules appear to be missing

 [...]


What does your setup.py look like? I was able to solve this my
including the relevant libs in the following:

setup(windows=[{'script': 'foo.py'}],
options={
'py2exe':
{
'includes': ['gzip', 'other libs here'],
}
}
)

Given from here: http://stackoverflow.com/questions/5308760/py2exe-lxml-woes


-- 
Noon Silk | http://dnoondt.wordpress.com/ 

Fancy a quantum lunch? http://groups.google.com/group/quantum-lunch?hl=en

Every morning when I wake up, I experience an exquisite joy — the joy
of being this signature.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: The following modules appear to be missing - py2exe

2011-07-19 Thread miamia
On Jul 19, 1:13 pm, Noon Silk noonsli...@gmail.com wrote:
 On Tue, Jul 19, 2011 at 7:47 PM, Peter Irbizon peterirbi...@gmail.com wrote:
  Hello, please I have problem with The following modules appear to be
  missing message during compiling my app exe file with py2exe. What should I
  do with this? Many thanks in advance.

  The following modules appear to be missing

  [...]

 What does your setup.py look like? I was able to solve this my
 including the relevant libs in the following:

 setup(windows=[{'script': 'foo.py'}],
     options={
         'py2exe':
         {
             'includes': ['gzip', 'other libs here'],
         }
     }
 )

 Given from here: http://stackoverflow.com/questions/5308760/py2exe-lxml-woes

 --
 Noon Silk |http://dnoondt.wordpress.com/

 Fancy a quantum lunch?http://groups.google.com/group/quantum-lunch?hl=en

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.

my setup.py looks like this:
# -*- coding: utf-8 -*-
from distutils.core import setup
import py2exe
import sys

class Target:
   def __init__(self, **kw):
   self.__dict__.update(kw)
   self.version = 0.9.0.002
target = Target(
   script = app.py,
   icon_resources=[(1, 'ico.ico')],
   )


setup(
name = 'xx',
author='abc',

windows = [target],

options = {
  'py2exe': {
  'packages':'encodings, kinterbasdb',
  'includes': 'cairo, pango, pangocairo, atk,
gobject, gio',
  }
  },

data_files=[],
)


there must be something missing. I will try to find it out what is it.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: The following modules appear to be missing - py2exe

2011-07-19 Thread Terry Reedy

On 7/19/2011 5:47 AM, Peter Irbizon wrote:

Hello, please I have problem with The following modules appear to be
missing message during compiling my app exe file with py2exe. What
should I do with this? Many thanks in advance.


From the stuff below, you appear to be compiling for Windows.


The following modules appear to be missing
['Carbon', 'Carbon.Files',


This is Mac gui stuff which you neither need nor want in a Windows 
binary. I suspect mis-specification somewhere.


 '_scproxy', 'fixedpoint', 'gdk', 'mx', 'unix', 'glib.

compiling with gcc? You appear to be missing its glib.


GError', 'glib.IOChannel', 'glib.IO_ERR', 'glib.IO_FLAG_APPEND',
'glib.IO_FLAG_G
ET_MASK', 'glib.IO_FLAG_IS_READABLE', 'glib.IO_FLAG_IS_SEEKABLE',
'glib.IO_FLAG_
IS_WRITEABLE', 'glib.IO_FLAG_MASK', 'glib.IO_FLAG_NONBLOCK',
'glib.IO_FLAG_SET_M
ASK', 'glib.IO_HUP', 'glib.IO_IN', 'glib.IO_NVAL', 'glib.IO_OUT',
'glib.IO_PRI',
'glib.IO_STATUS_AGAIN', 'glib.IO_STATUS_EOF', 'glib.IO_STATUS_ERROR',
'glib.IO_
STATUS_NORMAL', 'glib.Idle', 'glib.MainContext', 'glib.MainLoop',
'glib.OPTION_E
RROR', 'glib.OPTION_ERROR_BAD_VALUE', 'glib.OPTION_ERROR_FAILED',
'glib.OPTION_E
RROR_UNKNOWN_OPTION', 'glib.OPTION_FLAG_FILENAME',
'glib.OPTION_FLAG_HIDDEN', 'g
lib.OPTION_FLAG_IN_MAIN', 'glib.OPTION_FLAG_NOALIAS',
'glib.OPTION_FLAG_NO_ARG',
'glib.OPTION_FLAG_OPTIONAL_ARG', 'glib.OPTION_FLAG_REVERSE',
'glib.OPTION_REMAI
NING', 'glib.OptionContext', 'glib.OptionGroup',
'glib.PRIORITY_DEFAULT', 'glib.
PRIORITY_DEFAULT_IDLE', 'glib.PRIORITY_HIGH', 'glib.PRIORITY_HIGH_IDLE',
'glib.P
RIORITY_LOW', 'glib.Pid', 'glib.PollFD',
'glib.SPAWN_CHILD_INHERITS_STDIN', 'gli
b.SPAWN_DO_NOT_REAP_CHILD', 'glib.SPAWN_FILE_AND_ARGV_ZERO',
'glib.SPAWN_LEAVE_D
ESCRIPTORS_OPEN', 'glib.SPAWN_SEARCH_PATH',
'glib.SPAWN_STDERR_TO_DEV_NULL', 'gl
ib.SPAWN_STDOUT_TO_DEV_NULL', 'glib.Source', 'glib.Timeout',
'glib.child_watch_a
dd', 'glib.filename_display_basename', 'glib.filename_display_name',
'glib.filen
ame_from_utf8', 'glib.get_application_name', 'glib.get_current_time',
'glib.get_
prgname', 'glib.glib_version', 'glib.idle_add', 'glib.io_add_watch',
'glib.main_
context_default', 'glib.main_depth', 'glib.markup_escape_text',
'glib.set_applic
ation_name', 'glib.set_prgname', 'glib.source_remove',
'glib.spawn_async', 'glib
.timeout_add', 'glib.timeout_add_seconds', 'glib.uri_list_extract_uris']

*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.

USP10.DLL - C:\WINDOWS\system32\USP10.DLL
OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
USER32.dll - C:\WINDOWS\system32\USER32.dll
POWRPROF.dll - C:\WINDOWS\system32\POWRPROF.dll
SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
ole32.dll - C:\WINDOWS\system32\ole32.dll
SHLWAPI.DLL - C:\WINDOWS\system32\SHLWAPI.DLL
COMDLG32.DLL - C:\WINDOWS\system32\COMDLG32.DLL
ADVAPI32.DLL - C:\WINDOWS\system32\ADVAPI32.DLL
msvcrt.dll - C:\WINDOWS\system32\msvcrt.dll
WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
WINSPOOL.DRV - C:\WINDOWS\system32\WINSPOOL.DRV
GDI32.dll - C:\WINDOWS\system32\GDI32.dll
DNSAPI.DLL - C:\WINDOWS\system32\DNSAPI.DLL
VERSION.dll - C:\WINDOWS\system32\VERSION.dll
KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
IMM32.DLL - C:\WINDOWS\system32\IMM32.DLL
COMCTL32.DLL - C:\WINDOWS\system32\COMCTL32.DLL
MSIMG32.DLL - C:\WINDOWS\system32\MSIMG32.DLL
MPR.dll - C:\WINDOWS\system32\MPR.dll
gdiplus.dll - C:\WINDOWS\system32\gdiplus.dll




--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list


Py2exe

2011-06-10 Thread poip
Hi Im new to this and I am having a problem converting my .py to a .exe 

I get the following: 

Traceback (most recent call last):
  File casemng.py, line 163, in module
  File casemng.py, line 38, in __init__
  File wx\_core.pyc, line 3369, in ConvertToBitmap
wx._core.PyAssertionError: C++ assertion image.Ok() failed at
..\..\src\msw\bitmap.cpp(802) in wxBitmap::CreateFromImage(): invalid image

I think that this is due to p2exe not being able manage the images which I
have used on the buttons. 

As I say I'm very new to this so please take it easy on me. 

Thank you for any help 
-- 
http://mail.python.org/mailman/listinfo/python-list


py2exe: executable is slower than code run from the interpreter

2011-06-04 Thread Massi
Hi everyone,
I'm writing a big program (windows 7, python 2.6.6) which includes
lots of python libraries (SQLalchemy, PyQt, SocketServer,
Matplotlib,...). Now I'm trying to build a stand alone executable with
py2exe (0.6.9) and everything works great. The only issue is that the
executable seems to be slower with respect to the same code run from
Idle.
For example, at stratup my program sets up a server and during the
execution sends commands to it and waits for reply. In the code case
the average time needed to process a given command is 0.24s, in the
executable case it raises to 0.30 (times are obviously measured
considering the same command).
It is really difficult for me to build a small example script to show
the problem, so I guess if anyone knows if there are some issues in
py2exe that could bring such a performance loss. Any hints is welcome,
thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2exe: executable is slower than code run from the interpreter

2011-06-04 Thread Miki Tebeka
One thing that comes to mind is importing. py2exe packs libraries in a zip file 
so importing might be a bit slower. But this should slow only at the beginning 
until everything is loaded to memory.

The other usual suspect is the anti virus :)
-- 
http://mail.python.org/mailman/listinfo/python-list


Py2exe problem with pyqt+matplotlib

2011-03-15 Thread Massi
I everyone,

I'm trying to write a setup file for py2exe (0.6.9) to convert my
script into a windows (on win 7) executable. In my script (python2.6)
I use PyQt and matplotlib. Here is the setup.py file:

from distutils.core import setup
import py2exe
import matplotlib as mpl
import glob, shutil

mpl.use('qt4agg')
shutil.rmtree(build, ignore_errors=True)

includes = ['sip', 'PyQt4', 'PyQt4.QtGui', 'matplotlib.backends',
win32com, win32service, win32serviceutil,
win32event,
sqlalchemy.dialects.mssql, pyodbc, datetime,
decimal,
sqlalchemy.dialects.mysql, MySQLdb]
excludes = ['_gtkagg', '_tkagg', 'bsddb', 'curses', 'pywin.debugger',
'pywin.debugger.dbgcon', 'pywin.dialogs', 'tcl',
'Tkconstants', 'Tkinter', 'pydoc', 'doctest', 'test',
'wx']
packages = ['matplotlib', 'pytz', encodings]
dll_excludes = ['libgdk-win32-2.0-0.dll', 'libgobject-2.0-0.dll',
'tcl84.dll',
libgdk_pixbuf-2.0-0.dll, 'tk84.dll']
data_files = mpl.get_py2exe_datafiles()

setup(name=MyProg,
  windows=[{script: 'Main.pyw',
icon_resources: [(1, colorrulex.ico)]}],
  options = {py2exe: {compressed:2, optimize:2,
includes:includes,
excludes: excludes, packages:
packages,
dll_excludes: dll_excludes,
bundle_files:2,
dist_dir:'dist', xref:False,
skip_archive:False, ascii: False,
custom_boot_script:''}},
zipfile = r'lib\library.zip',
data_files=data_files
)

If I run 'python setup.py py2exe' at the command line the executable
is successfully created, but when I run MyProg.exe I get the following
error:
Traceback (most recent call last):
  File Main.pyw, line 4, in module
  File zipextimporter.pyo, line 82, in load_module
  File gui\tree\ComponentTree.pyo, line 2, in module
  File zipextimporter.pyo, line 82, in load_module
  File gui\stage\Item.pyo, line 6, in module
  File zipextimporter.pyo, line 82, in load_module
  File components\CompDataView.pyo, line 10, in module
  File zipextimporter.pyo, line 82, in load_module
  File components\dataview\PlotPanel.pyo, line 2, in module
  File zipextimporter.pyo, line 82, in load_module
  File plot\PlotCanvas.pyo, line 8, in module
  File zipextimporter.pyo, line 82, in load_module
  File pylab.pyo, line 1, in module
  File zipextimporter.pyo, line 82, in load_module
  File matplotlib\pylab.pyo, line 263, in module
  File zipextimporter.pyo, line 82, in load_module
  File matplotlib\pyplot.pyo, line 95, in module
  File matplotlib\backends\__init__.pyo, line 25, in pylab_setup
  File zipextimporter.pyo, line 82, in load_module
  File matplotlib\backends\backend_tkagg.pyo, line 8, in module
ImportError: No module named Tkinter

Obviously Tkinter is not imported since I'm using pyqt, so can anyone
point me out what I'm doing wrong?
Thanks in advance!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Py2exe problem with pyqt+matplotlib

2011-03-15 Thread John Posner
On 2:59 PM, Massi wrote:
 I everyone,

 I'm trying to write a setup file for py2exe (0.6.9) to convert my
 script into a windows (on win 7) executable. In my script (python2.6)
 I use PyQt and matplotlib. Here is the setup.py file:
snip
 ImportError: No module named Tkinter

 Obviously Tkinter is not imported since I'm using pyqt, so can anyone
 point me out what I'm doing wrong?
 Thanks in advance!

PyQt doesn't use Tkinter, but matplotlib does!

-John


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Question on Creating exe file with py2exe

2011-02-15 Thread aspineux
On 13 fév, 06:20, joy99 subhakolkata1...@gmail.com wrote:
 On Feb 13, 1:29 am, aspineux aspin...@gmail.com wrote:





  Hi

  I'm releasing a .exe made with py2exe myself an got this problem too.
  99% of the time the required DLL is already installed by another
  application and you don't need to care about it.
  The 1% is about empty or fresh windows install (server most of the
  time)
  For them, I provide a link to the M$ vcredist and a warning in my
  download page asking them to install it them self.

  Take a look at my site for the vcredist link 
  :http://www.magikmon.com/mksbackup/download.en.html

  Regards

  Alain

  On Feb 12, 9:06 pm, joy99 subhakolkata1...@gmail.com wrote:

   Dear Room,

   I am using Windows XP (SP2) and a Python Version Python 2.6.5
   (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on
   win32.

   I was looking to create exe files. Reviewing various posts here, I
   felt py2exe may be the best thing I can opt for.

   But for Python2.6 I found the following note in the py2exe tutorial:
   For Python 2.6, the DLL you need is called MSVCR90.dll. Py2exe is not
   able to automatically include this DLL in your dist directory, so you
   must provide it yourself.

   To complicate things, there is more than one version of this DLL in
   existance, each with the same filename. You need the same version that
   the Python interpreter was compiled with, which is version
   9.0.21022.8. Through the remainder of these instructions, hover your
   mouse over the dll file (or the vcredist_x86.exe installer executable)
   to confirm which version you've got. 

   My questions are:
   (i) From where I can download MSVCR90.dll ? Is there any trusted
   site?
   (ii) How to install the same?
   (iii) Would py2exe work fine if I install it?
   (iv) Is there any other exe creating program which does not have all
   these problems?

   As it is a room for expert python developers, I felt to ask you, if
   any one can kindly find some time to resolve my query, I would be
   honored.

   Thanks in Advance,
   Best Regards,
   Subhabrata.

 Hi Alain,
 Thank you for your product information. But, with my problem
 installation is okay.
 The first two steps:
 from distutils.core import setup
  import py2exe
 but as I am giving
 setup(console=['file.py'])

 the setup file is not being generated.

What do you mean ? Do you expect the 3 lines above will generate a
setup.py file ?
You are wrong you must create your setup.py file yourself, and this
file must contains
the 3 lines above, and more a lot more ..
Then you will run

 python setup.py py2exe

to generate your .exe file


 It is giving some error
 messages.
 Any suggestions?
 Best Regards,
 Subhabrata.- Masquer le texte des messages précédents -

 - Afficher le texte des messages précédents -

-- 
http://mail.python.org/mailman/listinfo/python-list


Question on Creating exe file with py2exe

2011-02-12 Thread joy99
Dear Room,

I am using Windows XP (SP2) and a Python Version Python 2.6.5
(r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on
win32.

I was looking to create exe files. Reviewing various posts here, I
felt py2exe may be the best thing I can opt for.

But for Python2.6 I found the following note in the py2exe tutorial:
For Python 2.6, the DLL you need is called MSVCR90.dll. Py2exe is not
able to automatically include this DLL in your dist directory, so you
must provide it yourself.

To complicate things, there is more than one version of this DLL in
existance, each with the same filename. You need the same version that
the Python interpreter was compiled with, which is version
9.0.21022.8. Through the remainder of these instructions, hover your
mouse over the dll file (or the vcredist_x86.exe installer executable)
to confirm which version you've got. 

My questions are:
(i) From where I can download MSVCR90.dll ? Is there any trusted
site?
(ii) How to install the same?
(iii) Would py2exe work fine if I install it?
(iv) Is there any other exe creating program which does not have all
these problems?

As it is a room for expert python developers, I felt to ask you, if
any one can kindly find some time to resolve my query, I would be
honored.

Thanks in Advance,
Best Regards,
Subhabrata.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Question on Creating exe file with py2exe

2011-02-12 Thread aspineux
Hi

I'm releasing a .exe made with py2exe myself an got this problem too.
99% of the time the required DLL is already installed by another
application and you don't need to care about it.
The 1% is about empty or fresh windows install (server most of the
time)
For them, I provide a link to the M$ vcredist and a warning in my
download page asking them to install it them self.

Take a look at my site for the vcredist link :
http://www.magikmon.com/mksbackup/download.en.html

Regards

Alain

On Feb 12, 9:06 pm, joy99 subhakolkata1...@gmail.com wrote:
 Dear Room,

 I am using Windows XP (SP2) and a Python Version Python 2.6.5
 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on
 win32.

 I was looking to create exe files. Reviewing various posts here, I
 felt py2exe may be the best thing I can opt for.

 But for Python2.6 I found the following note in the py2exe tutorial:
 For Python 2.6, the DLL you need is called MSVCR90.dll. Py2exe is not
 able to automatically include this DLL in your dist directory, so you
 must provide it yourself.

 To complicate things, there is more than one version of this DLL in
 existance, each with the same filename. You need the same version that
 the Python interpreter was compiled with, which is version
 9.0.21022.8. Through the remainder of these instructions, hover your
 mouse over the dll file (or the vcredist_x86.exe installer executable)
 to confirm which version you've got. 

 My questions are:
 (i) From where I can download MSVCR90.dll ? Is there any trusted
 site?
 (ii) How to install the same?
 (iii) Would py2exe work fine if I install it?
 (iv) Is there any other exe creating program which does not have all
 these problems?

 As it is a room for expert python developers, I felt to ask you, if
 any one can kindly find some time to resolve my query, I would be
 honored.

 Thanks in Advance,
 Best Regards,
 Subhabrata.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Question on Creating exe file with py2exe

2011-02-12 Thread joy99
On Feb 13, 1:29 am, aspineux aspin...@gmail.com wrote:
 Hi

 I'm releasing a .exe made with py2exe myself an got this problem too.
 99% of the time the required DLL is already installed by another
 application and you don't need to care about it.
 The 1% is about empty or fresh windows install (server most of the
 time)
 For them, I provide a link to the M$ vcredist and a warning in my
 download page asking them to install it them self.

 Take a look at my site for the vcredist link 
 :http://www.magikmon.com/mksbackup/download.en.html

 Regards

 Alain

 On Feb 12, 9:06 pm, joy99 subhakolkata1...@gmail.com wrote:

  Dear Room,

  I am using Windows XP (SP2) and a Python Version Python 2.6.5
  (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on
  win32.

  I was looking to create exe files. Reviewing various posts here, I
  felt py2exe may be the best thing I can opt for.

  But for Python2.6 I found the following note in the py2exe tutorial:
  For Python 2.6, the DLL you need is called MSVCR90.dll. Py2exe is not
  able to automatically include this DLL in your dist directory, so you
  must provide it yourself.

  To complicate things, there is more than one version of this DLL in
  existance, each with the same filename. You need the same version that
  the Python interpreter was compiled with, which is version
  9.0.21022.8. Through the remainder of these instructions, hover your
  mouse over the dll file (or the vcredist_x86.exe installer executable)
  to confirm which version you've got. 

  My questions are:
  (i) From where I can download MSVCR90.dll ? Is there any trusted
  site?
  (ii) How to install the same?
  (iii) Would py2exe work fine if I install it?
  (iv) Is there any other exe creating program which does not have all
  these problems?

  As it is a room for expert python developers, I felt to ask you, if
  any one can kindly find some time to resolve my query, I would be
  honored.

  Thanks in Advance,
  Best Regards,
  Subhabrata.



Hi Alain,
Thank you for your product information. But, with my problem
installation is okay.
The first two steps:
from distutils.core import setup
 import py2exe
but as I am giving
setup(console=['file.py'])

the setup file is not being generated. It is giving some error
messages.
Any suggestions?
Best Regards,
Subhabrata.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: is py2exe still active ?

2010-12-09 Thread Octavian Rasnita
Hi Philip,

I thought that pypi works like cpan for Perl, but now I understand.

Thank you for clarifications.


--
Octavian


---
From: Philip Semanchuk phi...@semanchuk.com
 
 On Dec 8, 2010, at 5:09 AM, Octavian Rasnita wrote:
 
 Hi Steve,
 
 I may put some stupid questions because I am very new to Python, but... I 
 heard about pypi/pip. Aren't all these Python libraries (like cxFreeze) 
 provided on a central archive where we can get them and also report the bugs 
 using a single request/issue tracker?
 
 Hi Octavian,
 I didn't see anyone reply to you on the list...
 
 The short answer to your question is no. PyPI stands for the Python Package 
 Index. The key word there is Index. It's a catalog of packages but many of 
 those packages are hosted elsewhere. The places where those packages are 
 hosted may or may not have an issue tracker, etc. 
 
 For instance, one the packages that I offer through PyPI (posix_ipc) is 
 hosted on my personal Web site. 
 
 Hope this helps
 Philip
 
 
 - Original Message - 
 From: Steve Holden st...@holdenweb.com
 Newsgroups: gmane.comp.python.general
 To: Octavian Rasnita orasn...@gmail.com
 Cc: python-list@python.org
 Sent: Wednesday, December 08, 2010 12:56 AM
 Subject: Re: is py2exe still active ?
 
 
 Octavian:
 
 It's great that you want to let people know about bugs. Put yourself in
 the position of the package maintainer, however. She or he doesn't spend
 all day working on cxFreeze, and probably doesn't even do a Google
 search on cxFreeze very often. So they are unlikely to find out about
 this problem form your well-intentioned note.
 
 It's just possible nobody does care, as I can't find a link to an issue
 tracker - the best I could advise in this case would be to join the
 mailing list by visiting
 
 https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
 
 regards
 Steve
 
 On 12/7/2010 6:49 PM, Octavian Rasnita wrote:
 This packager is also nice.
 
 If someone cares, I've discovered a small bug in it.
 If Python is installed on another drive than C under Windows, the 
 cxfreeze.bat file still calls Python on the drive C and it doesn't work 
 until it is corrected.
 
 Octavian
 
 - Original Message - 
 From: Cbast sebastien.fri...@gmail.com
 Newsgroups: comp.lang.python
 To: python-list@python.org
 Sent: Tuesday, December 07, 2010 5:00 PM
 Subject: Re: is py2exe still active ?
 
 
 On Dec 7, 8:23 am, Anders Persson anders.u.pers...@gmail.com wrote:
 Hi!
 When a look att py2exe homepage it is not looking like mutch happen,
 as a beginner i was thinking to start with Python 3, but i like to now
 if py2exe will be for 3 too.
 
 Is any one have any info ?
 
 I don't have the answer about py2exe, but I'm using cxFreeze to create
 executables with Python 3.1, if it's what you're looking for.
 
 http://cx-freeze.sourceforge.net/
 
 
 -- 
 Steve Holden   +1 571 484 6266   +1 800 494 3119
 PyCon 2011 Atlanta March 9-17   http://us.pycon.org/
 See Python Video!   http://python.mirocommunity.org/
 Holden Web LLC http://www.holdenweb.com/
 -- 
 http://mail.python.org/mailman/listinfo/python-list
 
 -- 
 http://mail.python.org/mailman/listinfo/python-list
-- 
http://mail.python.org/mailman/listinfo/python-list


  1   2   3   4   5   6   7   8   9   10   >