• 0

How to package a Python application for different OSs (e.g. sublimetext)


Question

Hi,

 

Currently, the applications I code in Python requires the user to have Python installed on their machine and run my Python applications using the terminal or via a .bat/.sh executable. But I noticed that the popular text editor SublimeText is coded in Python and the installer itself doesn't include the Python interpreter. So, how does a Python coded application like SublimeText work on a fresh windows installation that does not come with Python pre-installed? :/

 

Am I overlooking something?

 

Thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

It's just packaged using something like pyinstaller or another packager. I think we talked about these briefly in another posting a few months ago  :)

Link to comment
Share on other sites

  • 0
  • 0

It's just packaged using something like pyinstaller or another packager. I think we talked about these briefly in another posting a few months ago  :)

 

Hi... I think so. I was assuming that something like Pyinstaller would still require Python installed on the users computer. But it seems like that is not necessarily the case. I am going to try one of them out and see how it turns out. Basically I don't want my users to go through the trouble of installing Python or deal with the nightmares of Python 2.7 vs Python 3, etc...

Link to comment
Share on other sites

  • 0

Hi... I think so. I was assuming that something like Pyinstaller would still require Python installed on the users computer. But it seems like that is not necessarily the case. I am going to try one of them out and see how it turns out. Basically I don't want my users to go through the trouble of installing Python or deal with the nightmares of Python 2.7 vs Python 3, etc...

Yup, it isn't the case. You should be able to do it relatively fine on Windows. Just make sure to use a 32 bit distribution of python so it works everywhere

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.