How to create Python 2.5 executables on UBUNTU?

Asked by Yaamy

I have developed an application using Python 2.5 on Ubuntu and would like to make an exe of the same. Is there a way to do it.

I tried using CX_Freeze, but did not succeed. Could not even fire the basic FreezePython --help command. And also read that "PyInstaller works with any version of Python since 1.5 and up to 2.4. ", as I am using Python 2.5, I did not use PyInstaller.

Please help me on how to create a Python 2.5 file executable on Ubuntu. Your help will be appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mathias Uebelacker (muebelacker) said :
#1

Hello,

what do you mean executable on ubuntu? Every python file is executable via bash like ./yourfile.py it is possible to create menu entry's to start a python application or use the gnome-panel starter.
br
Mathias

Revision history for this message
Mathias Uebelacker (muebelacker) said :
#2

Hello,

in addition to my last post this works if you use the magic line in your script (the first line in your script should be)
#!/usr/bin/python
br
Mathias

Can you help with this problem?

Provide an answer of your own, or ask Yaamy for more information if necessary.

To post a message you must log in.