[cx-freeze-users] cx_Freeze: transfer of maintenance to Marcelo Duarte

2020-07-01 Thread Anthony Tuininga
All, In the past few years I have realized that I no longer use cx_Freeze myself and my spare time to maintain cx_Freeze is limited. In the past number of months Marcelo Duarte has been doing much of the work of responding to issues and creating pull requests to continue enhancing cx_Freeze. As

[cx-freeze-users] cx_Freeze 6.1

2020-01-04 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 3.5 or

[cx-freeze-users] cx_Freeze 6.0

2019-08-29 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 3.5 or

Re: [cx-freeze-users] Building my program that uses LGPL licensed libraries

2019-04-19 Thread Anthony Tuininga
Hi Francesco, You could technically do so, although it wouldn't be terribly easy to do. Essentially, you can replace the shared libraries by simply copying the files on top, but the Python files you would need to replace in the zip file. Whether that satisfies the requirements or not I can't

[cx-freeze-users] cx_Freeze 5.1.1

2017-12-16 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.7 or

Re: [cx-freeze-users] Cx_freeze created msi installer package does not show run as administrator when right clicked

2017-12-09 Thread Anthony Tuininga
Hi, I believe this is just a Windows thing that you need to setup and isn't specific to cx_Freeze. A quick Google search suggests this: https://www.howtogeek.com/178826/how-to-force-an-msi-package-to-install-using-administrator-mode/ I am no Windows expert, however, so can't guarantee its

Re: [cx-freeze-users] Unable to execute correctly a binary with oslo_log

2017-11-18 Thread Anthony Tuininga
On Wed, Nov 15, 2017 at 3:24 PM, Thomas Kluyver wrote: > On 15 November 2017 at 22:00, Leandro Garcia > wrote: > >> In my own experience, cx_Freeze is not 100% accurate resolving >> dependencies of dependencies... (do not ask me why)... >> > >

Re: [cx-freeze-users] I currently have a problem with building my PyGame python file into executable file. codes module error.

2017-11-11 Thread Anthony Tuininga
This was a bug in cx_Freeze which has now been corrected: https://github.com/anthony-tuininga/cx_Freeze/commit/9c98492911d4c75587d3687206d11812b48bf144 On Fri, Nov 10, 2017 at 7:49 AM, Alegruz <aleg...@khu.ac.kr> wrote: > https://stackoverflow.com/questions/47223944/cx-freeze- > no-

[cx-freeze-users] cx_Freeze 5.1 and 6.0b1

2017-11-04 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.7 or

Re: [cx-freeze-users] cx_Freeze 6 plans?

2017-05-20 Thread Anthony Tuininga
pal Software Engineer > p: 603.296.1568 <(603)%20296-1568> | @danmccombs > > On Sat, Apr 29, 2017 at 11:56 PM, Anthony Tuininga < > anthony.tuini...@gmail.com> wrote: > >> All, >> >> I am hoping to get your opinion on whether it makes sense to release >

[cx-freeze-users] cx_Freeze 6 plans?

2017-04-29 Thread Anthony Tuininga
All, I am hoping to get your opinion on whether it makes sense to release cx_Freeze 6 as Python 3.5+ only. Python 2.7 is nearing the end of life and more and more people are using Python 3.5+ so it seems a reasonable time to consider this. cx_Freeze 5 would continue to exist for as long as Python

[cx-freeze-users] cx_Freeze 5.0.1

2017-01-07 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.7 or

Re: [cx-freeze-users] Overload !

2016-12-13 Thread Anthony Tuininga
Hi, You are not doing anything wrong. The default for handling packages was changed to store packages outside of the zip file. All of the files from the package are now copied -- because too many packages were making assumptions about the fact that all of the files they distributed existed in the

Re: [cx-freeze-users] No Error at Console, but exe does not start

2016-11-23 Thread Anthony Tuininga
On Wed, Nov 23, 2016 at 11:19 AM, Wolfgang Langner wrote: > On 23.11.2016 08:02, Andreas Paeffgen wrote: > > On 2016-11-22 13:20:58 +, Wolfgang Langner said: > > > >> Hi, > >> > >> you are using the new release 5.0. > >> > >> I tried it also to test compatibility to older

Re: [cx-freeze-users] x86 Bundling x64 MSCRT DLLs

2016-11-18 Thread Anthony Tuininga
gt; There are some missing modules >> >> API-MS-WIN-CRT-MULTIBYTE-L1-1-0.DLL >> UCRTBASE >> CONCRT140.DLL >> IESHIMS.DLL >> >> Note: UCRTBASE does not have a .dll extension in Dependency Walker >> >> Interestingly API-MS-WIN-CRT-MULTIBYTE-L

Re: [cx-freeze-users] ./lib/python35.zip not found when directory changed

2016-11-18 Thread Anthony Tuininga
File "", line 954, in _find_and_load_unlocked > File "", line 896, in _find_spec > File "", line 1147, in find_spec > File "", line 1123, in _get_spec > File "", line 1104, in > _legacy_get_spec > File "", line 444,

Re: [cx-freeze-users] Python 3.6 readiness

2016-11-18 Thread Anthony Tuininga
Well, the problem wasn't with Python 3.5. :-) The problem was that I started making a number of significant changes and then life got in the way! I have no reason to believe that support for Python 3.6 will prove difficult and I have no plans for making significant changes at this point. So I

Re: [cx-freeze-users] x86 Bundling x64 MSCRT DLLs

2016-11-18 Thread Anthony Tuininga
now. >> >> On Fri, Nov 18, 2016 at 10:53 AM, Cody Scott <c...@perspexis.com> wrote: >> >>> Oddly I don't have a cx_Freeze.util submodule. >>> >>> >>> On Fri, Nov 18, 2016 at 10:20 AM, Anthony Tuininga < >>> anthony.tu

Re: [cx-freeze-users] x86 Bundling x64 MSCRT DLLs

2016-11-18 Thread Anthony Tuininga
It is possible that the routine SeachPath() on Windows finds the 64-bit DLL (this is found in the cx_Freeze.util submodule). The documentation for that Windows function isn't clear on what happens in a mixed 32-bit and 64-bit environment. If you can find the source of that set of DLLs (perhaps

Re: [cx-freeze-users] ./lib/python35.zip not found when directory changed

2016-11-18 Thread Anthony Tuininga
Can you provide a test case that demonstrates this? I can take a look, then. In theory this is happening fairly early in the execution of your program so it should be reasonably easy to replicate. Just out of curiosity, what happens if you use an absolute path when running your application?

Re: [cx-freeze-users] Recursive build dirs

2016-11-16 Thread Anthony Tuininga
I can take a closer look later if neededbut there is one strange thing you have in your setup.py -- a directive for include_files to be the empty string. This may in fact be the source of the recursion. Can you remove it and let me know if that corrects the issue? Anthony On Wed, Nov 16,

Re: [cx-freeze-users] Windows 10 Reports CxFreeze 5 As Malware

2016-11-16 Thread Anthony Tuininga
Can you use the pip install route instead? Binary wheels have been created. On Wed, Nov 16, 2016 at 7:33 AM, Mike McGrath wrote: > Windows Defender deletes the CxFreeze installer when downloading. > > > > Sent from Mail

Re: [cx-freeze-users] cx_Freeze 5.0

2016-11-16 Thread Anthony Tuininga
of this content is strictly > prohibited. > > > -- > *From:* Anthony Tuininga <anthony.tuini...@gmail.com> > *Sent:* 16 November 2016 04:41 > *To:* python-annou...@python.org; primary discussion list for use and > development of cx_Freeze > *Subject:* [cx-freeze-u

Re: [cx-freeze-users] cx_Freeze 5.0

2016-11-16 Thread Anthony Tuininga
Thanks. And you're welcome! On Wed, Nov 16, 2016 at 1:32 AM, S. Champailler <schampail...@skynet.be> wrote: > congratulations ! and thank you for the work you put in this project ! > > > Le 16 novembre 2016 à 05:41, Anthony Tuininga < > anthony.tuini...@gmail.com> a &g

[cx-freeze-users] cx_Freeze 5.0

2016-11-15 Thread Anthony Tuininga
After a very long hiatus I am pleased to announce the release of cx_Freeze 5.0. What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and

Re: [cx-freeze-users] cx_Freeze 5.0 plans

2016-11-05 Thread Anthony Tuininga
artup code which allowed me to correct one other longstanding issue with paths containing untranslatable characters on Windows. I plan to do a bit more testing to verify all is well and would appreciate any feedback. Anthony On Tue, Nov 1, 2016 at 10:23 PM, Anthony Tuininga < anthony.tuini

Re: [cx-freeze-users] cx_Freeze 5.0 plans

2016-11-01 Thread Anthony Tuininga
know. Thanks. Anthony On Sat, Oct 29, 2016 at 9:50 PM, Anthony Tuininga < anthony.tuini...@gmail.com> wrote: > All, > > I wanted to give a brief update on where I am at with cx_Freeze 5.0. I > recently did some testing with the samples provided with cx_Freeze and > updated th

Re: [cx-freeze-users] Trying to use cx_freeze for first time

2016-03-19 Thread Anthony Tuininga
sing an arrow module which is using dateutil. > BTW I am not sure I quite understand this part: > "adjust the package to retrieve the data from another location instead and > ensure that cx_Freeze puts the file there (using the include_files option)." > Can you please explain m

Re: [cx-freeze-users] Trying to use cx_freeze for first time

2016-03-18 Thread Anthony Tuininga
Thanks, Paul. That is a much more complete and "newbie-friendly" explanation! :-) On Thu, Mar 17, 2016 at 8:29 AM, Paul Moore <p.f.mo...@gmail.com> wrote: > On 17 March 2016 at 12:42, Anthony Tuininga <anthony.tuini...@gmail.com> > wrote: > > What I mean by that

Re: [cx-freeze-users] Trying to use cx_freeze for first time

2016-03-18 Thread Anthony Tuininga
Hi, You have been bitten by the "inclusion of package data" problem. dateutil has a data file that it requires for execution. It assumes its presence in the file system where it is installed. With cx_Freeze, however, this doesn't work as the package is found inside a zip file and the package

Re: [cx-freeze-users] cx_Freeze for Python 3.5

2016-03-15 Thread Anthony Tuininga
Hi Herm, Yes, I know. :-( My apologies for the lengthy delay. I didn't personally migrate to Python 3.5 because another package I was depending on hadn't done so yet. So I hadn't needed to do so for work purposes yet. On top of that, I changed jobs around the end of the year so I haven't had much

Re: [cx-freeze-users] cx_freeze errors

2016-02-03 Thread Anthony Tuininga
Hi Steve (or should I say Annoyed?) :-) Could you provide some insight on what platform you are trying to use? What version of cx_Freeze you are trying to use? And what errors you are getting when you run the resulting executable? Without that information we won't be able to help you out! Thanks.

Re: [cx-freeze-users] Apparently cx_Freeze isn't copying DLLs for Ogg Vorbis files; why is this the case?

2015-08-31 Thread Anthony Tuininga
Hi Julian, Do you have a test case that can be used? I can take a look and see what is going on. There are better ways of "fixing" such things if cx_Freeze can't figure it out on its own for some reason. You can use --include-files to force the inclusion of certain files in the distribution,

Re: [cx-freeze-users] What happened to pull request #49 Make Win32Service work with Python 3.x ?

2015-06-12 Thread Anthony Tuininga
Hi, It is indeed merged and is found on the default branch. I haven't had much time available recently to work on this project so it has languished. There is still the pull request from Thomas regarding packages and some reasonable way of handling the way Ubuntu patches its Python version to

[cx-freeze-users] cx_Freeze 4.3.4

2014-12-27 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.6 or

[cx-freeze-users] cx_Freeze distribution

2014-05-08 Thread Anthony Tuininga
All, I just uploaded wheel packages to PyPI so that pip install cx_Freeze will work as expected. Besides the source package there are Windows binaries for 2.7, 3.3 and 3.4. Judging from the fact that in the last half hour there have been almost 200 downloads I suspect that this is the preferred

Re: [cx-freeze-users] cx_Freeze distribution

2014-05-08 Thread Anthony Tuininga
On Thu, May 8, 2014 at 11:55 AM, Thomas Kluyver tak...@gmail.com wrote: On 8 May 2014 10:24, Anthony Tuininga anthony.tuini...@gmail.com wrote: Judging from the fact that in the last half hour there have been almost 200 downloads I suspect that this is the preferred method of distribution

[cx-freeze-users] cx_Freeze 4.3.3

2014-05-03 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.6 or

Re: [cx-freeze-users] PyCon Montreal? cx_Freeze pronunciation?

2014-03-12 Thread Anthony Tuininga
Hi Dan, It is see-ex-freeze. The reason for the cx is because I originally developed it at Computronix (a small computer consulting firm here in Edmonton, Alberta, Canada) and its abbreviation was CX. :-) I would love to attend a PyCon but unfortunately I don't think it will happen. Maybe

Re: [cx-freeze-users] Can't Find Module cx_Freeze__init__

2014-01-07 Thread Anthony Tuininga
I have had an opportunity to test this with Python 3.4.0b2. All appears to work fine...after you change line 649 in distutils.msvc9compiler.py if mfinfo is not None* and target_desc != executable*: Creating the manifest doesn't appear to work properly and it isn't needed anyway as far as I can

Re: [cx-freeze-users] Can't Find Module cx_Freeze__init__

2013-11-18 Thread Anthony Tuininga
at 1:10 PM, Anthony Tuininga anthony.tuini...@gmail.com wrote: Can you try freezing the simple sample in the cx_Freeze distribution? I did that on Windows with Python 3.4 and it worked for me. I'd like to know if it is something specific to your application or to your machine. Anthony On Fri

Re: [cx-freeze-users] uninstall procedure?

2013-10-23 Thread Anthony Tuininga
If you are using the MSI package on Windows it should replace automatically or you can use the standard method for uninstalling the old version. If the RPM package on Linux then you can use the standard tools there for replacing the package. If you build yourself then python setup.py install

[cx-freeze-users] cx_Freeze 4.3.2

2013-10-22 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.3 or

Re: [cx-freeze-users] About “\bases”: Console, ConsoleKeepPath, Win32GUI

2013-09-24 Thread Anthony Tuininga
ConsoleKeepPath is used when you want to retain the sys.path of an *existing* Python installation. As such it isn't much use as a freezing tool since it requires Python to be installed on the target machine. That said, it does freeze the main script so it has limited use. In general on Windows use

Re: [cx-freeze-users] Development version

2013-09-10 Thread Anthony Tuininga
Hi, You can get the source here: https://bitbucket.org/anthony_tuininga/cx_freeze/src Anthony On Tue, Sep 10, 2013 at 4:14 AM, harry forthar...@gmail.com wrote: I learned lately that the re module problem has been fixed in the development release but i cant seem to be able to find it. Can

Re: [cx-freeze-users] Folders

2013-02-26 Thread Anthony Tuininga
On Tue, Feb 26, 2013 at 4:02 AM, Thomas Kluyver tak...@gmail.com wrote: On 26 February 2013 04:00, Chris Leong walkr...@gmail.com wrote: How can I include entire folders instead of individual files? For example, I need to include all css files inside a css folder - and I need to end up with

[cx-freeze-users] cx_Freeze 4.3.1

2012-11-23 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.3 or

Re: [cx-freeze-users] ConsoleKeepEnv base

2012-11-14 Thread Anthony Tuininga
Hi Alvar, I'd be interested in seeing what you have done, sure. Send me the link as I don't see the pull request. That said, I believe this is already available in cx_Freeze. It is called ConsoleKeepPath and it is an initscript. If I see what you have done I'll be able to confirm or deny that

Re: [cx-freeze-users] Patch to remove absolute path from pyc files, only relative path names in traceback

2012-11-13 Thread Anthony Tuininga
Wolfgang, Thomas, This feature is already present in cx_Freeze as far as I understand. You can see similar code to the code you posted in the method _ReplacePathsInCode() found in finder.py. The option --replace-paths is what you want for a distutils build. See the documentation for a bit more

Re: [cx-freeze-users] CX_freeze and creating a MSI

2012-11-13 Thread Anthony Tuininga
you like such a sample for inclusion with cx-freeze? Michael Whapples On 03/11/2012 04:40, Anthony Tuininga wrote: On Fri, Nov 2, 2012 at 11:32 AM, Michael Whapples mwhapp...@aim.com wrote: OK, further to that previous message, I have answered one question. The default installation

Re: [cx-freeze-users] Creating DLL for python scripts using cx_freeze

2012-11-13 Thread Anthony Tuininga
You would need to write your own base and initscript to make this work but it is definitely possible. I did so at my previous employer but it was specific to them. I have found no need for something similar here so haven`t written anything generic to accomplish this. The base would be fairly

Re: [cx-freeze-users] Issue with data files visibility

2012-11-07 Thread Anthony Tuininga
There is another option. cx_Freeze, in the Console base, sets the following variables which can be used inside the initscript that you use. You can use your own initscript if you need to that sets up your environment for running frozen. FILE_NAME - the name of the file that is executing,

Re: [cx-freeze-users] cx_freeze and services

2012-11-02 Thread Anthony Tuininga
On Fri, Nov 2, 2012 at 10:16 AM, Michael Whapples mwhapp...@aim.com wrote: Hello, Just a bit of a follow up on this. In the end it turned out that windows services just did not seem to work for what I needed, it needed to do some IPC with other software the user might be running (libraries for

Re: [cx-freeze-users] cx_freeze and services

2012-10-18 Thread Anthony Tuininga
You're welcome. It is on my list of things to do already so it will simply have to stay there until I find the time to do it. Anthony On Thu, Oct 18, 2012 at 9:26 AM, Michael Whapples mwhapp...@aim.com wrote: OK, thanks for the hints. Not sure how easy it would be for me to work out

Re: [cx-freeze-users] cannot get zipimporter instance with private Python installation

2012-08-04 Thread Anthony Tuininga
On Sat, Aug 4, 2012 at 3:26 AM, Hector Fidon esilo...@yahoo.fr wrote: Anthony Tuininga anthony.tuininga at gmail.com writes: Hi Hector, What version of cx_Freeze are you using? I assume that you built it yourself as well? I believe there was a problem earlier with using targetName. Let me

Re: [cx-freeze-users] cannot get zipimporter instance with private Python installation

2012-08-03 Thread Anthony Tuininga
Hi Hector, What version of cx_Freeze are you using? I assume that you built it yourself as well? I believe there was a problem earlier with using targetName. Let me suggest that you try *without* that directive first or, if you are not using version 4.3, to download and install it first. Anthony

Re: [cx-freeze-users] cxfreeze Not Creating executable

2012-07-14 Thread Anthony Tuininga
on Linux. I wish you all the best with your pursuit, though. :-) Thanks again, Sergio On 13 July 2012 17:46, Anthony Tuininga anthony.tuini...@gmail.com wrote: Hi, I found that I got that result if I had done a previous install. distutils is smart and only copies newer files. My suggestion

Re: [cx-freeze-users] cx_Freeze 4.3 Build/Install MacOS X 10.7.4

2012-07-13 Thread Anthony Tuininga
I just checked in a change to fix that problem. Looks like I might have been the culprit, not Kevin. :-( Please take a look at the latest revision and let me know if that works for you. Anthony On Fri, Jul 13, 2012 at 8:43 AM, Thomas Kluyver tak...@gmail.com wrote: Thanks. It should just be

Re: [cx-freeze-users] development version 64bit windows build

2012-07-12 Thread Anthony Tuininga
On 12/07/2012 11:47 PM, Anthony Tuininga wrote: Hi, I am intending to make a new release shortly (in the next week or two) as it has been far too long since the last one. If you want something sooner than that, I can provide a binary to you. Just send me a private e-mail. Anthony On Thu

[cx-freeze-users] cx_Freeze 4.3

2012-07-12 Thread Anthony Tuininga
What is cx_Freeze? cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.3 or

Re: [cx-freeze-users] Freezing behavior for a package that uses ctypes to wrap a dll

2012-07-04 Thread Anthony Tuininga
On Wed, Jul 4, 2012 at 5:06 PM, Thomas Kluyver tak...@gmail.com wrote: On 4 July 2012 22:41, Almar Klein a.kl...@science-applied.nl wrote: I don't know enough about the working of cx_freeze to answer that. Is there a concept of per package includes? You usually use excludes to prevent

Re: [cx-freeze-users] subprocess.Popen works via interpreter but not post cx_Freeze

2012-07-03 Thread Anthony Tuininga
On Tue, Jul 3, 2012 at 1:23 PM, Jamie Ivanov jamie.iva...@gmail.com wrote: The problem is not python, the problem is cx_Freeze. As I've said twice already, it works just fine via the interpreter. When using the Well, for me it does *not* work with the interpreter! I understood what you said but

Re: [cx-freeze-users] Problem with cx_freeze and tkinter on Windows XP

2012-04-09 Thread Anthony Tuininga
On Mon, Apr 9, 2012 at 9:04 AM, Bill Felton subscripti...@cagttraining.com wrote: On Apr 9, 2012, at 10:59 AM, gelin yan wrote: On Mon, Apr 9, 2012 at 10:55 PM, Bill Felton subscripti...@cagttraining.com wrote: Hi all, I'm using cx_freeze to package and, hopefully, distribute my

Re: [cx-freeze-users] cx_Freeze doesn't work with Python 3.3a1

2012-04-05 Thread Anthony Tuininga
On Wed, Apr 4, 2012 at 12:59 AM, Paul Moore p.f.mo...@gmail.com wrote: On 4 April 2012 00:11, Thomas Kluyver tak...@gmail.com wrote: A quick search suggests that this error can relate to mismatched .pyc files. PEP 3147 should have already solved that, but just to be sure, can you try deleting

Re: [cx-freeze-users] cx_Freeze doesn't work with Python 3.3a1

2012-04-05 Thread Anthony Tuininga
On Thu, Apr 5, 2012 at 9:19 AM, Anthony Tuininga anthony.tuini...@gmail.com wrote: On Wed, Apr 4, 2012 at 12:59 AM, Paul Moore p.f.mo...@gmail.com wrote: On 4 April 2012 00:11, Thomas Kluyver tak...@gmail.com wrote: A quick search suggests that this error can relate to mismatched .pyc files

Re: [cx-freeze-users] Wrong DLL files are packed

2012-03-18 Thread Anthony Tuininga
Thomas. ,Anthony Tuininga anthony.tuini...@gmail.com撰写: On Thu, Mar 15, 2012 at 4:14 AM, Thomas Kluyver tak...@gmail.com wrote: Great, thanks Kelvin. At some point, Anthony will hopefully chime in on this - I'm just trying to think through it a bit first, because I know he's very

Re: [cx-freeze-users] Wrong DLL files are packed

2012-03-17 Thread Anthony Tuininga
On Thu, Mar 15, 2012 at 4:14 AM, Thomas Kluyver tak...@gmail.com wrote: Great, thanks Kelvin. At some point, Anthony will hopefully chime in on this - I'm just trying to think through it a bit first, because I know he's very busy. Ok. I am chiming in. :-) Yes, I have been very busy lately.

Re: [cx-freeze-users] cx-freeze on a wsgi app

2012-03-17 Thread Anthony Tuininga
Hi Daniel, In theory this could be done...but I am not sure if mod_wsgi normally expects a full Python installation or not. If it can be coerced in some fashion to use a *different* embedded Python installation (as is done with cx_Freeze) then this would be quite simple indeed. I use mod_wsgi

Re: [cx-freeze-users] cx_Freeze on OS X?

2012-02-25 Thread Anthony Tuininga
Hi Rob, Please fork from this now as it will be the official respository now for cx_Freeze -- no longer an experiment. :-) https://bitbucket.org/anthony_tuininga/cx_freeze I have integrated your changes but haven't had a real chance to test them out much yet or even review them much. It didn't

Re: [cx-freeze-users] sqlite3

2012-02-18 Thread Anthony Tuininga
Hi, This is a regular problem as on Linux and other Unix like platforms you have a choice between UCS2 and UCS4 (2 byte vs 4 byte Unicode) -- and depending on which distribution you are using and how Python was built on that distribution you will have a problem. The solution is to build cx_Freeze

Re: [cx-freeze-users] sqlite3

2012-02-18 Thread Anthony Tuininga
-4.2.3-py2.6.egg-info   Writing /usr/lib/python2.6/site-packages/cx_Freeze-4.2.3-py2.6.egg-info   running install_packagedata Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 19/02/12 15:53, Anthony Tuininga wrote: On Sat, Feb 18, 2012 at 6:53 PM, Phil

Re: [cx-freeze-users] cx_Freeze on OS X?

2012-02-16 Thread Anthony Tuininga
Hey, if you've already written such a script, perhaps I could use it to improve cx_Freeze? I am not by any stretch of the imagination a Mac person so this would help considerably. Anthony On Thu, Feb 16, 2012 at 3:35 AM, Rob Reilink r...@reilink.net wrote: I am I am using it to freeze iep, a

Re: [cx-freeze-users] bdist_msi breaks pyqt4 window icons, build does not break window icons

2012-02-11 Thread Anthony Tuininga
Hi, Use InstEdit (or an equivalent MSI editor) to see what files are missing. Compare that with your build directory and report back. If that doesn't help, please generate a small script that demonstrates the problem so I can build it myself and see if I get the same results as you. Thanks.

Re: [cx-freeze-users] cx_Freeze - the future

2012-02-11 Thread Anthony Tuininga
On Fri, Feb 10, 2012 at 2:51 PM, Thomas Kluyver tak...@gmail.com wrote: On 2 February 2012 23:38, Thomas Kluyver tak...@gmail.com wrote: Where did cx_Freeze get to with the msvcr90.dll issue? I've read through this thread from 2009:

Re: [cx-freeze-users] cx_Freeze - the future

2012-02-11 Thread Anthony Tuininga
On Sat, Feb 11, 2012 at 4:30 PM, Thomas Kluyver tak...@gmail.com wrote: Thanks Anthony, You're welcome. On 11 February 2012 22:28, Anthony Tuininga anthony.tuini...@gmail.com wrote: It is quite reasonable. I would mention bdist_msi which produces an MSI with a very simple interface

Re: [cx-freeze-users] cx_Freeze - the future

2012-01-31 Thread Anthony Tuininga
On Mon, Jan 30, 2012 at 1:57 PM, Thomas Kluyver tak...@gmail.com wrote: Hi all, I believe cx_Freeze is an important tool. My personal interest in it is that I can agree with that. I use it daily in my job so for me it is very important -- and one of the reasons I wrote it in the first place.

Re: [cx-freeze-users] how to know what module/file are missing ?

2012-01-18 Thread Anthony Tuininga
Hi, That error is likely due to the fact that you don't have the Visual Studio redistributable installed on the target machine. I believe the one you want is for 2008. I am not on a Windows machine at the moment (I don't use one personally) but you should be able to find it and download it easily

Re: [cx-freeze-users] Missing modules: ? MySQLdb imported from __main__

2012-01-04 Thread Anthony Tuininga
Hi Jack, Can you provide me a simple script that demonstrates the problem and let me know what version of cx_Freeze you are using and on what platform? Thanks. Anthony On Wed, Jan 4, 2012 at 3:32 AM, jack jack jais...@gmail.com wrote: Hi Anthony, With continuation of me previous email, Could

Re: [cx-freeze-users] Compiling with libssl0.9.8

2011-11-30 Thread Anthony Tuininga
On Wed, Nov 30, 2011 at 3:00 AM, Max Pimm max...@gmail.com wrote: On Wed, Nov 30, 2011 at 8:25 AM, Michael Wood esiot...@gmail.com wrote: On 29 November 2011 21:45, Max Pimm max...@gmail.com wrote: I use debian testing and have installed the latest version of cx-freeze from source. When i

Re: [cx-freeze-users] libpython3.2mu.so.1.0 is missing

2011-11-30 Thread Anthony Tuininga
Hi, After you updated, did you run the installation routine again? Assuming you did I'll take a look again and see what I fixed that did not resolve your problem for you. Anthony On Tue, Nov 29, 2011 at 11:30 PM, Kelvin U.V kelvin@gmail.com wrote: Hi, My python version is 3.2. The

Re: [cx-freeze-users] path problem

2011-10-20 Thread Anthony Tuininga
Hi, What is the code that is used for determining the path of the data text file? I have used os.path.dirname(sys.argv[0]) which seems to work well enough when frozen as well as when running from python since python substitutes the script name for the python executable in sys.argv. Anthony On

Re: [cx-freeze-users] cx-freeze error

2011-10-19 Thread Anthony Tuininga
Does this mean you have resolved your problems or are you still looking for help? Anthony On Wed, Oct 19, 2011 at 11:37 AM, o.fourn...@iktios.fr o.fourn...@iktios.fr wrote: add pyqt4 dlls: libeay32.dll ssleay32.dll Le 19/10/2011 11:29, o.fourn...@iktios.fr a écrit : Hello, I need to

Re: [cx-freeze-users] Error after execution

2011-10-19 Thread Anthony Tuininga
(r25:51908, Sep 17 2011, 06:56:01) bash-3.2$ cxfreeze --version cxfreeze 4.2.3 Copyright (c) 2007-2010 Anthony Tuininga. All rights reserved. Copyright (c) 2001-2006 Computronix Corporation. All rights reserved. Traceback (most recent call last):   File /usr/local/lib/python2.5/site-packages

Re: [cx-freeze-users] Problem running frozen app on AIX

2011-10-18 Thread Anthony Tuininga
Certainly. You can use the bin_includes option and specify that you want to include that library. I don't have access to AIX myself but if anyone else has similar issues it could be added to the core with an if this is AIX condition. :-) Anthony On Tue, Oct 18, 2011 at 11:29 AM, Smith, Jeff

Re: [cx-freeze-users] Problem running frozen app on AIX

2011-10-18 Thread Anthony Tuininga
, disclosure, distribution or similar action is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the original message immediately. -Original Message- From: Anthony Tuininga [mailto:anthony.tuini...@gmail.com] Sent: Tuesday, October

Re: [cx-freeze-users] Freezing with tkinter in Python 3.2 + Windows (Wine)

2011-09-19 Thread Anthony Tuininga
Hi, Yes, there is a way to automate this and yes, it has already been done in the hooks. Take a look at load_tkinter and load_Tkinter and see what isn't working for you and if you provide a patch I'll certainly include it if possible. Anthony On Sat, Sep 17, 2011 at 2:38 PM, Thomas Kluyver

Re: [cx-freeze-users] ImportError when using configparser with Python 3.2.1

2011-09-01 Thread Anthony Tuininga
at 11:02 PM, Anthony Tuininga anthony.tuini...@gmail.com wrote: Hi, I have seen this before and I am planning on releasing a new version of cx_Freeze to catch up with the recent releases. The problem is that there is an incompatible change made in 3.2.1 and I built with 3.2. So right now you

Re: [cx-freeze-users] no module named lxml

2011-08-22 Thread Anthony Tuininga
to the console some debugging info via print(), is there any way to return that to the Windows command line, or am I writing a log file now? On Sun, Aug 21, 2011 at 12:49 AM, Anthony Tuininga anthony.tuini...@gmail.com wrote: The first directive for packages is required. The second one for includes

Re: [cx-freeze-users] no module named lxml

2011-08-20 Thread Anthony Tuininga
Hi, The main reason you are having difficulty is because of the fact that you are trying to write the executable to a different directory (dist) and everything else that is needed is written to the build subdirectory. So when you run the executable in dist it can't find the modules. Let me

Re: [cx-freeze-users] no module named lxml

2011-08-20 Thread Anthony Tuininga
The first directive for packages is required. The second one for includes is not since the packages directive forces all submodules in that package to be loaded anyway. Anthony On Sat, Aug 20, 2011 at 10:07 AM, Pham, Hien hien.p...@tekelec.com wrote: Try adding both packages and includes – It

Re: [cx-freeze-users] FreeBSD and samples/zope

2011-06-22 Thread Anthony Tuininga
On Wed, Jun 22, 2011 at 1:26 AM, Michael Wood esiot...@gmail.com wrote: On 21 June 2011 21:06, Anthony Tuininga anthony.tuini...@gmail.com wrote: Ok. That answers those two questions. So it works for you with Python 2.5 but not with Python 2.7? That suggests you need to look into how Python

Re: [cx-freeze-users] ImportError: cannot import name format with python 3.2, numpy 1.6.0, cx_freeze 4.2.3

2011-06-22 Thread Anthony Tuininga
On Wed, Jun 22, 2011 at 5:51 PM, Dave McGary dmcg...@jawbone.com wrote: I finally got my project (inherited) to build on WinXP with cx_freeze 4.2.3 win32, python 2.6. My script runs fine on my WinXP box, so everything required is installed properly, but cx_freeze said it was unable to find

Re: [cx-freeze-users] ImportError: cannot import name format with python 3.2, numpy 1.6.0, cx_freeze 4.2.3

2011-06-22 Thread Anthony Tuininga
On Wed, Jun 22, 2011 at 6:14 PM, Dave McGary dmcg...@jawbone.com wrote: Hello again, I forgot to mention in my last post that after getting my cx_freeze build to run I also got a runtime error for a missing module, a matplotlib.backend module.  I solved this problem by importing the required

Re: [cx-freeze-users] FreeBSD and samples/zope

2011-06-21 Thread Anthony Tuininga
Hi, I have no reason to believe that it should not work but I don't have FreeBSD myself. I assume that you tried the sample without freezing first? Did you build cx_Freeze yourself? The answers to those questions might be instructive. :-) Anthony On Tue, Jun 21, 2011 at 6:47 AM, alex M

Re: [cx-freeze-users] wx sample not including all python and wx dependencies

2011-06-03 Thread Anthony Tuininga
Hi, cx_Freeze has a set of directories that it ignores when looking at binary dependencies. The reason for this is simple: there is some base software that can reasonably be expected to be included on target machines and you wouldn't want to ever include ALL binary dependencies! The default

Re: [cx-freeze-users] Patch to fix cannot get zipimporter instance error of Win32GUI base program

2011-03-26 Thread Anthony Tuininga
Thanks. That looks very similar to the code in Console.c already so I just checked in it. I'll have to confirm that it works for me next week but I suspect it will. :-) Thanks for posting. Anthony On Sat, Mar 26, 2011 at 4:13 AM, Kder kder...@gmail.com wrote: Problem: When a program is freezed

Re: [cx-freeze-users] Bug in version 4.2.3

2011-03-22 Thread Anthony Tuininga
Hi, Can you check to see if there is a file called util.pyd in D:\Python32\Lib\site-packages\cx_Freeze? I just ran a test installation and all appears to work for me. I also had someone else who didn't have Python 3.2 installed at all try it and it worked for him. The file is there and imports

Re: [cx-freeze-users] Bug: problem with building exe with tcl/tk functions

2011-03-19 Thread Anthony Tuininga
Hi, This problem has been resolved. It was working fine with Python 2.x but with Python 3.x things changed around and so the code to copy these directories didn't run. It does now and will be part of the next release. Anthony On Tue, Mar 15, 2011 at 11:29 AM, koush...@gmail.com

Re: [cx-freeze-users] cx_feeze mac os 10.6 and python 3.1

2011-03-19 Thread Anthony Tuininga
more regards 2011/3/18 Anthony Tuininga anthony.tuini...@gmail.com Hi, Unfortunately my French is nowhere near your English. :-( Let's try again. 1) Download the file labeled Source Code Only from http://cx-freeze.sourceforge.net. 2) Extract the files in a location of your choice. 3

Re: [cx-freeze-users] Unable to import xlrd module

2011-03-19 Thread Anthony Tuininga
Hi, I just installed xlrd -- thanks for the reference, BTW. I was not aware of this package and I can see some very good uses for it. :-) I was able to freeze an application using it without any difficulty. Perhaps you can provide an example that does not work? Thanks. Anthony On Thu, Mar 3,

  1   2   3   >