Giter VIP home page Giter VIP logo

Comments (8)

Polprzewodnikowy avatar Polprzewodnikowy commented on May 17, 2024

I've added workflow job for that feature in this PR: #29. It definitely needs some more work. I've used --onefile parameter but macOS executable takes several seconds to load and print any output. Windows and Linux executables seems to have roughly one second delay. Documentation also needs to be adjusted if we want users to download precompiled apps instead of using python script direcly.

from summercart64.

networkfusion avatar networkfusion commented on May 17, 2024

Nice work. I have been digging a little deeper (with only mobile access) and an alternative might be to use https://github.com/Nuitka/Nuitka instead of pyinstaller, although not sure if it will be any better.

from summercart64.

networkfusion avatar networkfusion commented on May 17, 2024

Or a possible fix could be pyinstaller/pyinstaller#2550 but at this point I am only speculating. I can help from tues onwards.

from summercart64.

Polprzewodnikowy avatar Polprzewodnikowy commented on May 17, 2024

Fiddled a little bit with parameters and it's pretty quick on Windows and Linux. App starts and it's operational in less than half a second. macOS build on other hand requires 2-4 seconds to print anything at all. I don't think this is a big issue because python3 is preinstalled in macOS so user don't have to install it separately. Only additional step is installing requirements in that case.

from summercart64.

networkfusion avatar networkfusion commented on May 17, 2024

Interestingly Windows Defender thinks that the generated sc64.exe contains a trojan!. I will fork the branch and see if I can work out why. Also, it seems to take at least a couple of seconds to load, so I will see if I can improve that as well.

(for my own ref: https://stackoverflow.com/questions/43777106/program-made-with-pyinstaller-now-seen-as-a-trojan-horse-by-avg)

from summercart64.

Polprzewodnikowy avatar Polprzewodnikowy commented on May 17, 2024

Building pyinstaller bootloader separately seems to fix the issue with false virus detection. I ran tests on VirusTotal with file built from latest action on pyinstaller branch and zero threats were detected. macOS build still has issue with very long bootup time that needs further investigation. Documentation also should be adjusted to point the user to download precompiled binaries.

from summercart64.

networkfusion avatar networkfusion commented on May 17, 2024

I have also been playing with this here: https://github.com/networkfusion/SummerCollection/tree/nuitka
But.. got distracted by the menu 😜

from summercart64.

Polprzewodnikowy avatar Polprzewodnikowy commented on May 17, 2024

Fixed in 5b2ee0b

from summercart64.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.