Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:28
    hirios closed #1064
  • 17:28
    hirios closed #1064
  • 17:28
    hirios commented #1064
  • 17:28
    hirios commented #1064
  • 17:27
    hirios commented #1064
  • 17:27
    hirios commented #1064
  • 17:17
    hirios commented #1064
  • 17:17
    hirios commented #1064
  • 17:15
    hirios commented #1064
  • 17:15
    hirios commented #1064
  • 07:00
    kayhayen commented #1066
  • 07:00
    kayhayen commented #1066
  • 01:58
    zqbxx commented #1066
  • 01:58
    zqbxx commented #1066
  • 01:38
    zqbxx commented #1066
  • 01:38
    zqbxx commented #1066
  • Apr 12 17:08
    kayhayen commented #1066
  • Apr 12 17:08
    kayhayen commented #1066
  • Apr 12 17:03
    kayhayen commented #1065
  • Apr 12 17:03
    kayhayen commented #1065
LordOdin
@DurkTheBurk_gitlab
1 sec ill run it again
Kay Hayen
@kayhayen
yes, make sure, how would I be able to know :)
LordOdin
@DurkTheBurk_gitlab
ah this one is for appimage
Just figured people might of experienced never ending prints of y
image.png
Kay Hayen
@kayhayen
that's strange
LordOdin
@DurkTheBurk_gitlab
it happens on windows too but quickly goes away.
Kay Hayen
@kayhayen
what you mean, goes away?
LordOdin
@DurkTheBurk_gitlab
it does the y y y y y y and then it does what its supposed to do, download whatever it asked to download
Kay Hayen
@kayhayen
and it's reproducible for you?
What kind of terminal is that, it looks funny with letters on the left side of the frame.
LordOdin
@DurkTheBurk_gitlab
it's just the wsl terminal, im not sure how to reproduce it id have to remove the dependencies nuitka wants to download i assume so it will ask to download it again
Kay Hayen
@kayhayen
I don't know a WSL terminal.
Yeah, you would have to delete the AppData of Nuitka, in ~.cache/ in the WSL.
The tqdm guys hate a few terminals, maybe it's messed up. Nuitka doesn't echo your response.
LordOdin
@DurkTheBurk_gitlab
how do i run without tqdm?
Kay Hayen
@kayhayen
--no-progressbar or something should be there in --help.
LordOdin
@DurkTheBurk_gitlab
alright ill check it out in a bit, thanks. got emergency builds to make
Kay Hayen
@kayhayen
From my cursory inspection, it shouldn't display a progress bar at the time this happens, the question should make tqdm clear the display again, even if there was. But I also don't know what a WSL terminal is, do you mean normal CMD box?
LordOdin
@DurkTheBurk_gitlab
Im not sure what the WSL terminal is either, you basically install ubuntu on windows and then it has its own terminal, i dont think its standard CMD
Kay Hayen
@kayhayen
An exciting new feature is coming, I am adding this kind of stuff:
# Compilation mode, support OS specific. Note that macOS is going to gain onefile mode "soon".
# nuitka-project-if: {OS} in ("Windows", "Linux"):
#    nuitka-project: --onefile
# nuitka-project-if: {OS} not in ("Windows", "Linux"):
#    nuitka-project: --standalone
# nuitka-project-if: {OS} == "Windows":
#    nuitka-project: --windows-onefile-tempdir

# The PySide2 plugin covers qt-plugins
# nuitka-project: --enable-plugin=pyside2

# The pkg-resources plugin is not yet automatic
# nuitka-project: --enable-plugin=pkg-resources

# Protect the constants from being readable.
# nuitka-project: --enable-plugin=data-hiding

# Include datafiles for Qt into the binary directory.
# nuitka-project: --enable-plugin=datafile-inclusion
# nuitka-project: --qt-datadir={MAIN_DIRECTORY}
# nuitka-project: --qt-datafile-pattern=*.js
# nuitka-project: --qt-datafile-pattern=*.qml
LordOdin
@DurkTheBurk_gitlab
interesting, I use DPG for GUI we have a lot of discussions about compiling in there its a hot topic
Kay Hayen
@kayhayen
With that kind of stuff in main.py you don't have to do specify anything on the command line, doing away with the build script complexity.
You don't read the output of Nuitka, or you wouldn't have half of the options you are using.
LordOdin
@DurkTheBurk_gitlab
Well it does go by pretty quick lol
Kay Hayen
@kayhayen
Yeah, in my mind, that's all useless stuff now.
LordOdin
@DurkTheBurk_gitlab
oh lordy lol. well we would love to use nuitka for all of our apps and pay for the pro features once we get it all set up. We have some licensing systems built in to the apps and it would be nice to have the encryption features. any step making it harder to decompile is a plus
Kay Hayen
@kayhayen
I was working on a solve my deployment customer, and didn't quite feel like writing that kind of code. What I wonder @DurkTheBurk_gitlab is why you don't use --include-datafile for the onefile inclusion. It's not as good as the datafile-inclusion plugin, but at least it's in the onefile binary.
LordOdin
@DurkTheBurk_gitlab
--include-datafile will move over the json and lic files?
trying to find it in the docs
Kay Hayen
@kayhayen
Yeah, since onefile cannot be postprocessed anymore, more or less "cp" needed to be added.
ok, it's named --include-data-file :)
Check help output, copying a whole dir is not well supported yet, but I kind of want to do that for next release.
I am thinking of --include-package-data as more convinient, as it finds the package locations itself.
LordOdin
@DurkTheBurk_gitlab
well the config and lic are meant to edited by the user in the root path easy to find, --include-data-file will put it inside of the exe or in the path?
ive got the build working on ubuntu it didnt have any problems. ill try debugging wsl when i get some more time
Kay Hayen
@kayhayen
for standalone in the dist folder, for onefile inside the onfile binary
yeah, only cosmetic stuff... but I still like these things to be right.
icew4y
@icew4y
I love nuitka
it's better than pyinstaller
Kay Hayen
@kayhayen
@icew4y good to hear, actually my goal for the short term is to give no reason to use it anymore, so let me know for things you liked that are missing, I think macOS icons, etc. are and onefile for macOS naturally, is there anything else?
And for commercial, I want to add high grade protection of data files, not just including data file in a onefile archive that can be unpacked by anybody and changed :) but rather include them in the binary as constant data, like it will be with 0.6.14 now.
Kay Hayen
@kayhayen
New pre-release, with mainly a bugfix for older Python3 OSes with namespace packages in stdlib, and otherwise mostly cleanups
On factory the new project options are available, but not yet documented, refer to my example above if you want to use it.
This is highly experimental and may not even run in current form after I made cleanups.
Kay Hayen
@kayhayen
Yet another pre-release, the project options are in that, as is an important bug fix, and new --include-data-dir option added. Very close to release, in fact I was writing the changelog and will push it out soon.
Chris Garrett / Retro Game Coders 🕹
@retrogamecoders_twitter
Hey @kayhayen this is an amazing tool, thank you! I have a Mac .dist folder with my test app inside, to provide the app to someone else do they also need the whole .dist folder and to know to call the app from within that?
Kay Hayen
@kayhayen
@retrogamecoders_twitter unfortunately yes, but onefile mode for macOS will come later this year
Chris Garrett / Retro Game Coders 🕹
@retrogamecoders_twitter
OK great, thank you!