PyApp

Dev tools

application packaging

SHOW HN2023

109points
44comments
#587of 3,109 in 2023
Top 19%of 2023 by points

How HN took it

LovedMost comments that take a side are positive

8 positive, 17 neutral or asking, 3 mixed, 0 critical, out of 28 comments about the project. Thread score +0.20.

Idea: 4 for, 0 againstDocs: 2 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful for distributing Python apps to non-expert users

    From 2 comments
    • This looks really awesome! I'll try it out on some of my projects that I never tried to share outside of the Python community because setting up Python and/or pipx always felt…
      anze3db on HN
    • This looks great, do I understand correctly that the full isolation option allows the binary to be fully self-contained and does not require any connectivity for the app to run?…
      chrooted-user on HN
  • Fully self-contained binaries suit air-gapped environments

    From 2 comments
    • This looks great, do I understand correctly that the full isolation option allows the binary to be fully self-contained and does not require any connectivity for the app to run?…
      chrooted-user on HN
    • Yup that's right!
      ofek on HN
  • Avoids antivirus false positives seen with PyInstaller

    From 1 comment

Objections

  • Documentation lacks a simple quickstart example

    From 2 comments
    • This is really cool but I think the documentation could use a simple quickstart example, that takes actual Python code and shows how to turn it into an executable. Right now it…
      Gazoche on HN
    • Thanks, I look forward to this! For some possibly useful documentation feedback: I got confused. Normally I would install a tool, check out its `--help` content, then maybe try…
      AndyKluger on HN
  • Cowsay example is confusing

    From 2 comments
    • I don't fully understand the example in the GIF: - Why is it using Cargo if this is a Python tool? - How does it know that it should install "cowsay"? Is the only reference to…
      simonw on HN
    • Looks promising—thanks for sharing! Is it possible to include non-Python binaries somehow? Similar to how it is done with PyInstaller with the --add-binary argument? P.S.: It has…
      holbue on HN
  • Binaries must be built on each target platform

    From 1 comment
    • You would have to compile the binary on the target platform. Eventually I will support cross compiling but even then there will still be one binary for every…
      ofek on HN

Requests

  • Cross compilation support

    From 1 comment
    • You would have to compile the binary on the target platform. Eventually I will support cross compiling but even then there will still be one binary for every…
      ofek on HN
  • Support for non-Python binaries like PyInstaller's add-binary

    From 1 comment
    • Looks promising—thanks for sharing! Is it possible to include non-Python binaries somehow? Similar to how it is done with PyInstaller with the --add-binary argument? P.S.: It has…
      holbue on HN
  • Simple hello-world or end-to-end examples

    From 2 comments
    • This looks really useful. I would love to see some more end-to-end examples though it's nice to see the animated one right away in the readme.
      dkroy on HN
    • An example of running this on the command line that isn't a GIF.
      notatallshaw on HN

Questions

  • How does it differ from PyInstaller

    From 1 comment
    • How does it differentiate from PyInstaller?
      pabe on HN
  • Can it produce executables that run on other operating systems

    From 1 comment
    • Hi! It seems great! If I understood it well, does this allow to create an executable file for python file that, even if built on windows, can run on mac, linux, whatever....…
      davins90 on HN
  • Can it be run inside Docker to build binaries

    From 2 comments
    • Hi! It seems great! If I understood it well, does this allow to create an executable file for python file that, even if built on windows, can run on mac, linux, whatever....…
      davins90 on HN
    • Yes if you want to build the binaries in containers you could mount a directory where the artifacts should go.
      ofek on HN

Alternatives named

  • PyInstaller

    From 2 comments
    • I've had some success with pyinstaller but recently have been getting inconsistent results with an application I've written that uses pyside6. It was working for a while but all…
      ktm5j on HN
    • How does it differentiate from PyInstaller?
      pabe on HN
  • shiv

    From 1 comment
    • How does this compare to shiv? https://github.com/linkedin/shiv
      qubidt on HN
  • cosmopolitan

    From 1 comment
    • will go on my "to try" list where i already have cosmopolitan [2]. my last setup (windows) was shiv + wine + nsis (used that as pyinstaller had some issues)[2] [1]…
      delijati on HN
  • cxFreeze and py2exe

    From 1 comment

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/38629539)