Conversation
Using PyInstaller package, developer can generate a simple GUI for the network analyzer. The GUI gives the user the ability to choose the relay and the rpc servers for generating the data, and the folder at which the csv data files are going to be generated. For building the app, just run `pyinstaller app.py -y`, this will generate the executable and other files at `./dist/app`, and then you will need to maually copy `contracts.json` to `./dist/app/network_analyzer/contracts.json`. Worths mentioning that `PyInstaller` generates the executable for the environment it runs on (generates .exex on a Windows machine and mac executable on Mac). Also, there are limitations on Mac machine for the specific OS version. PyInstaller is stupid enough to force you to make a run on each MacOS version you want the app to run on
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using PyInstaller package, developer can generate a simple GUI for the
network analyzer. The GUI gives the user the ability to choose the relay
and the rpc servers for generating the data, and the folder at which the
csv data files are going to be generated.
For building the app, just run
pyinstaller app.py -y, this willgenerate the executable and other files at
./dist/app, and thenyou will need to maually copy
contracts.jsonto./dist/app/network_analyzer/contracts.json.Worths mentioning that
PyInstallergenerates the executable forthe environment it runs on (generates .exex on a Windows machine
and mac executable on Mac). Also, there are limitations on Mac
machine for the specific OS version. PyInstaller is stupid enough to
force you to make a run on each MacOS version you want the app to run on