python scripts to standalone executable

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Amit Gupta

    #1

    python scripts to standalone executable

    Hi

    I am looking for a some tool that can convert python scripts to
    executable on Linux.

    I found freeeze.py as the only option so far. Couple of queries on
    freeze:

    1. Have anyone used the freeze utility and any experiences to share
    from that?
    2. Is there any enterprise-level exe-builder for python on linux
    (ActiveState has nothing)?

    Any other related commets are also welcome.

    Thanks
    Amit
  • John Henry

    #2
    Re: python scripts to standalone executable

    On Mar 31, 10:24 am, Amit Gupta <emaila...@gmai l.comwrote:
    Hi
    >
    I am looking for a some tool that can convert python scripts to
    executable on Linux.
    >
    I found freeeze.py as the only option so far. Couple of queries on
    freeze:
    >
    1. Have anyone used the freeze utility and any experiences to share
    from that?
    2. Is there any enterprise-level exe-builder for python on linux
    (ActiveState has nothing)?
    >
    Any other related commets are also welcome.
    >
    Thanks
    Amit
    I don't know about freeeze.py but for me, I've been using py2exe, and
    also pyinstall quite often and they both work for me.

    Comment

    • Amit Gupta

      #3
      Re: python scripts to standalone executable

      On Mar 31, 10:37 am, John Henry <john106he...@h otmail.comwrote :
      On Mar 31, 10:24 am, Amit Gupta <emaila...@gmai l.comwrote:
      >
      >
      >
      Hi
      >
      I am looking for a some tool that can convert python scripts to
      executable on Linux.
      >
      I found freeeze.py as the only option so far. Couple of queries on
      freeze:
      >
      1. Have anyone used the freeze utility and any experiences to share
      from that?
      2. Is there any enterprise-level exe-builder for python on linux
      (ActiveState has nothing)?
      >
      Any other related commets are also welcome.
      >
      Thanks
      Amit
      >
      I don't know about freeeze.py but for me, I've been using py2exe, and
      also pyinstall quite often and they both work for me.
      Isnt py2exe for windows only?
      I haven't looked at pyinstall.. Is it for linux?

      Comment

      • John Henry

        #4
        Re: python scripts to standalone executable

        On Mar 31, 10:38 am, Amit Gupta <emaila...@gmai l.comwrote:
        On Mar 31, 10:37 am, John Henry <john106he...@h otmail.comwrote :
        >
        >
        >
        On Mar 31, 10:24 am, Amit Gupta <emaila...@gmai l.comwrote:
        >
        Hi
        >
        I am looking for a some tool that can convert python scripts to
        executable on Linux.
        >
        I found freeeze.py as the only option so far. Couple of queries on
        freeze:
        >
        1. Have anyone used the freeze utility and any experiences to share
        from that?
        2. Is there any enterprise-level exe-builder for python on linux
        (ActiveState has nothing)?
        >
        Any other related commets are also welcome.
        >
        Thanks
        Amit
        >
        I don't know about freeeze.py but for me, I've been using py2exe, and
        also pyinstall quite often and they both work for me.
        >
        Isnt py2exe for windows only?
        Not sure. I use it on windows.
        I haven't looked at pyinstall.. Is it for linux?
        It appears so - according to http://www.pyinstaller.org/

        Comment

        • Mike Driscoll

          #5
          Re: python scripts to standalone executable

          On Mar 31, 12:24 pm, Amit Gupta <emaila...@gmai l.comwrote:
          Hi
          >
          I am looking for a some tool that can convert python scripts to
          executable on Linux.
          >
          I found freeeze.py as the only option so far. Couple of queries on
          freeze:
          >
          1. Have anyone used the freeze utility and any experiences to share
          from that?
          2. Is there any enterprise-level exe-builder for python on linux
          (ActiveState has nothing)?
          >
          Any other related commets are also welcome.
          >
          Thanks
          Amit
          What about creating a setup.py and using the distutils command to
          build rpms or tarballs?



          Mike

          Comment

          • Amit Gupta

            #6
            Re: python scripts to standalone executable

            On Mar 31, 1:52 pm, Mike Driscoll <kyoso...@gmail .comwrote:
            >
            What about creating a setup.py and using the distutils command to
            build rpms or tarballs?
            >

            >
            Mike
            My quick look: The link you sent is under the header "Distributi ng
            Python Modules". In my case, I have set of python-files that
            altogether is part of one product-functionality. I would like to
            package it and have it run standalone, even if the user does not have
            python installed.

            Ok, I guess build-dist can possibly achieve the same purpose (without
            reading through the link you sent). So my question would be: why is
            there pyinstaller, if this does the job. Is build-dist more low-level
            and thus is over-kill for the kind of application I am looking for?:

            Thanks

            Comment

            • Mike Driscoll

              #7
              Re: python scripts to standalone executable

              On Mar 31, 4:53 pm, Amit Gupta <emaila...@gmai l.comwrote:
              On Mar 31, 1:52 pm, Mike Driscoll <kyoso...@gmail .comwrote:
              >
              >
              >
              What about creating a setup.py and using the distutils command to
              build rpms or tarballs?
              >>
              Mike
              >
              My quick look: The link you sent is under the header "Distributi ng
              Python Modules". In my case, I have set of python-files that
              altogether is part of one product-functionality. I would like to
              package it and have it run standalone, even if the user does not have
              python installed.
              Good point. I guess I missed the "one product-functionality"
              requirement in your original post. Sorry for the noise!
              >
              Ok, I guess build-dist can possibly achieve the same purpose (without
              reading through the link you sent). So my question would be: why is
              there pyinstaller, if this does the job. Is build-dist more low-level
              and thus is over-kill for the kind of application I am looking for?:
              >
              Thanks
              PyInstaller is for converting something you've written in Python into
              a binary for various OS's. When I read through the thread though, I
              thought your requirements might include distributing the modules as
              source too.

              If you want to produce a binary for Macs, I've heard that py2app does
              the job: http://pypi.python.org/pypi/py2app/

              There's also cx_freeze, which is different than freeze.py:


              The last one is probably the best new advice I have to offer.

              Mike

              Comment

              • BlueBird

                #8
                Re: python scripts to standalone executable

                On Mar 31, 7:24 pm, Amit Gupta <emaila...@gmai l.comwrote:
                Hi
                >
                I am looking for a some tool that can convert python scripts to
                executable on Linux.
                >
                I found freeeze.py as the only option so far. Couple of queries on
                freeze:
                >
                1. Have anyone used the freeze utility and any experiences to share
                from that?
                2. Is there any enterprise-level exe-builder for python on linux
                (ActiveState has nothing)?
                >
                Any other related commets are also welcome.
                >
                Thanks
                Amit
                I've run into the same question and decided to keep a web page memo
                about it:



                I'll be happy to update it with feedback.

                Philippe

                Comment

                Working...