Hi,
You need to ensure that the C library and any other libraries that are
referenced by the extensions that you are using and Python itself are
compatible. Generally most libraries are backwards compatible but not
forward compatible so in practice you generally find an "older" distribution
and build on there. In that way most "newer" distributions will work for
you. This is the reason that I have built with CentOS 5 as it is relatively
old right now. :-)
Anthony
On Mon, Apr 26, 2010 at 11:03 AM, Maria Panait <panaitmaria40@...>wrote:
>
>
>
>
> I've made an executable with cx-freeze in Slackware 13 and this executable
> not run on
> Kubuntu 10.4 for example.What shell I do to make an executable from python
> script who
> can run on different Linux OS ?
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@...
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>

I've made an executable with cx-freeze in Slackware 13 and this executable not run on Kubuntu 10.4 for example.What shell I do to make an executable from python script whocan run on different Linux OS ?

I have removed you from the list because of these last three e-mails
that appear to be spam. Please feel free to resubscribe if this was
not done intentionally. Thanks.
Anthony
On Wed, Apr 21, 2010 at 7:00 AM, Patty Ackermann
<patty.ackermann@...> wrote:
> http://applicationdevelopment.ca/Z6ydBQij3R.htm
>
> ------------------------------------------------------------------------------
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@...
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>

On Wed, Feb 10, 2010 at 11:49 AM, Smith, Jeff <jsmith@...> wrote:
> I had to make the following changes to get cx_Freeze to work on the Mac
>
> Before building
>
> change ldd in freezer.py to otool -L
Done. Checked in.
> mkdir -p Python.framework/Versions/2.6/
> ln -s /Library/Frameworks/Python.framework/Versions/2.6/Python Python.framework/Versions/2.6/
Modified setup.py to remove the need for this.
> Before running a built executable
>
> mkdir /lib /include
> ln -s /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /lib/python2.6
> ln -s /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 /include/python2.6
Changed the default bin exclude path to include
"/System/Library/Frameworks" but did not include /Library/Frameworks.
Not sure why you had to do this but I didn't notice the need to do so.
Can you elaborate further if the changes I have checked in to
Subversion don't resolve these problems for you? Thanks.
Anthony

Hello all,
So far i've been happily using cx-freeze to freeze my python
scripts in windows and it's been awesome. Just before i learnt that it can
also be used with Mac from
here<http://stackoverflow.com/questions/2490405/does-py2app-support-python3>(see
the first answer). So i just want to try it out on my new Mac Os X
10.6.2. Can you please tell me the installation instructions for Mac? . I
couldn't find it from the doc.
Regards,
Jeba

Hello!
I am trying to make an executable for Windows (Vista) from a fairly simple Python 3.1.2 script that uses tkinter.
from tkinter import *(...my simple script)
I tried both using the .bat and the distutils method as described on the Documentation, but in both cases I get the same error when starting the created .exe:
Traceback (most recent call last):File "c:\python31\lib\site-packages\cx_Freeze\initscripts\Console3.py, line 27 in (module) exec(code, m.__dict__)File "script.py", line 1, in (module)File "c:\python31\lib\tkinter\__init__.py", line 38, in (module) from tkinter import _fixImportError: cannot import _fix
I tried a few options like using
#setup.py(...)executables = [Executable("d:\\develop\\python\\tetris\\tetris4.py",appendScriptToLibrary="c:\\Python31\\Lib\\tkinter\\_fix.py")])
But nothing works.
Does anyone have an idea how to do this?
Kind Regards,
Rein
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop

On 8 April 2010 09:42, Eric Brunel <eric.brunel@...> wrote:
> On 7 avr. 10, at 17:23, Michael Wood wrote:
> [snip]
>
> I think you might need to install Xcode in order to get otool. Xcode
> is a free (but rather large) download from developer.apple.com.
>
> XCode should be on the MacOSX installation DVD that was delivered with your
> Mac. It's indeed not installed by default, but it should be there, no need
> to download it normally…
True, I forgot about that because I needed to compile a project that
required a later version of Xcode.
--
Michael Wood <esiotrot@...>

On 7 avr. 10, at 17:23, Michael Wood wrote:
[snip]
> I think you might need to install Xcode in order to get otool. Xcode
> is a free (but rather large) download from developer.apple.com.
XCode should be on the MacOSX installation DVD that was delivered with
your Mac. It's indeed not installed by default, but it should be
there, no need to download it normally…
HTH
--
- Eric Brunel <eric.brunel@...> -

On Wed, Apr 7, 2010 at 9:23 AM, Michael Wood <esiotrot@...> wrote:
> On 7 April 2010 15:36, Anthony Tuininga <anthony.tuininga@...> wrote:
>> >From the README.txt included with the package:
>>
>> python setup.py build
>> python setup.py install
>>
>> You can also get by with just the last command as well. Hope that helps.
>
> That's all very well, but as mentioned before, there's no ldd on OS X :)
Right. That problem will be addressed in the next release. Thanks for
pointing out the workaround for now. :-)
anthony

On 7 April 2010 15:36, Anthony Tuininga <anthony.tuininga@...> wrote:
> >From the README.txt included with the package:
>
> python setup.py build
> python setup.py install
>
> You can also get by with just the last command as well. Hope that helps.
That's all very well, but as mentioned before, there's no ldd on OS X :)
The easiest way to get around that is to create /usr/local/bin/ldd
with the following contents:
---------------------------
#!/bin/sh
exec otool -L "$@"
---------------------------
and make sure it's executable.
I think you might need to install Xcode in order to get otool. Xcode
is a free (but rather large) download from developer.apple.com.
Then it seems to work for me (on 10.5.8) but I haven't really tested
it properly.
> On Wed, Apr 7, 2010 at 6:30 AM, Jeba raj <jebamails@...> wrote:
>> Hello all,
>>
>> So far i've been happily using cx-freeze to freeze my python
>> scripts in windows and it's been awesome. Just before i learnt that it can
>> also be used with Mac from here (see the first answer). So i just want to
>> try it out on my new Mac Os X 10.6.2. Can you please tell me the
>> installation instructions for Mac? . I couldn't find it from the doc.
--
Michael Wood <esiotrot@...>

>From the README.txt included with the package:
python setup.py build
python setup.py install
You can also get by with just the last command as well. Hope that helps.
Anthony
On Wed, Apr 7, 2010 at 6:30 AM, Jeba raj <jebamails@...> wrote:
> Hello all,
>
> So far i've been happily using cx-freeze to freeze my python
> scripts in windows and it's been awesome. Just before i learnt that it can
> also be used with Mac from here (see the first answer). So i just want to
> try it out on my new Mac Os X 10.6.2. Can you please tell me the
> installation instructions for Mac? . I couldn't find it from the doc.
>
> Regards,
> Jeba
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@...
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>

Hello all,
So far i've been happily using cx-freeze to freeze my python
scripts in windows and it's been awesome. Just before i learnt that it can
also be used with Mac from
here<http://stackoverflow.com/questions/2490405/does-py2app-support-python3>(see
the first answer). So i just want to try it out on my new Mac Os X
10.6.2. Can you please tell me the installation instructions for Mac? . I
couldn't find it from the doc.
Regards,
Jeba

On 6 April 2010 16:43, Anthony Tuininga <anthony.tuininga@...> wrote:
> On Tue, Apr 6, 2010 at 8:02 AM, Michael Wood <esiotrot@...> wrote:
>> On 6 April 2010 15:36, Anthony Tuininga <anthony.tuininga@...> wrote:
>>> On Tue, Apr 6, 2010 at 3:14 AM, Michael Wood <esiotrot@...> wrote:
>>>> On 6 April 2010 06:58, Lenin Lee <lenin.lee@...> wrote:
>>>>> Python 2.6.4 is compiled with Visual C++ 2008, you should have Visual C++
>>>>> 2008 redistributable installed on every system you run the app, or you can
>>>>> use Python 2.5 instead.
>>>>
>>>> Is it possible to include the necessary VC2008 redistributable stuff
>>>> into the frozen app?
>>>
>>> Possible, yes. Essentially you need to copy the V90 CRT MANIFEST from
>>> the C:\Windows\WinSxS\Manifests directory and put it in the same
>>> directory as the executable with the name Microsoft.VC90.CRT.manifest.
>>> You also need to place the three DLLs from the corresponding directory
>>> in C:\Windows\WinSxS in the same directory as the executable. Then all
>>> should work. I believe this is called a private assembly and its not
>>> recommended but it does work for the situations where you can't have
>>> the target machines install the redistributable.
>>
>> Thanks.
>
> You're welcome.
>
>> So the recommended method is just to get the target machines to
>> install the redistributable?
>
> Yeah. There is always the question of whether or not you have the
> right to distribute those libraries yourself. You may or may not
> require a Visual Studio license -- the whole subject is murky and
> there is a lot of discussion about it on various groups from what I
> could see from searches I've done over the past year or so. I've
> avoided the problem by simply avoiding any embedding....
>
>> I suppose you could included it in an installer for your app or something.
>
> Yes. There are merge modules available to do precisely that. Again,
> the source of those should be considered carefully if you personally
> don't have Visual Studio.
OK, thanks for the advice.
--
Michael Wood <esiotrot@...>