Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Package the main application into an executable binary #4

Open
gridhead opened this issue Oct 9, 2020 · 9 comments
Open

Package the main application into an executable binary #4

gridhead opened this issue Oct 9, 2020 · 9 comments
Labels
help wanted Extra attention is needed

Comments

@gridhead
Copy link
Member

gridhead commented Oct 9, 2020

Make sure that you use PyInstaller and that it is compliant to Python 3.8 and above.

@gridhead gridhead added help wanted Extra attention is needed hacktoberfest Contribute to the notion of open-source this October! labels Oct 9, 2020
@gridhead
Copy link
Member Author

Would you be willing to pick this up, @khallnayak?

@Sameer-Mann
Copy link
Contributor

@t0xic0der i would like to help with this. Though it my first time. I am reading the documentation of pyinstaller.

@Sameer-Mann
Copy link
Contributor

Sameer-Mann commented Oct 30, 2020

@t0xic0der i tried to make an executable for the app but it requires me sign the code manually on mac pyinstaller/pyinstaller#4934 and even if i did that the binary file would not be distributable.

So i think using pyinstaller to distribute a mac os package is not feasible correct me if i am wrong.

@gridhead
Copy link
Member Author

Sure, @Sameer-Mann. I am assigning this issue to you.

Feel free to take your time and learn about PyInstaller.

@gridhead
Copy link
Member Author

Yes. The issue seems to be troubling especially macOS users. Could you try making an executable on a GNU/Linux system?

@Sameer-Mann
Copy link
Contributor

ok I will try to make it work for gnu/linux systems

@gridhead gridhead removed the hacktoberfest Contribute to the notion of open-source this October! label Nov 1, 2020
@Sameer-Mann
Copy link
Contributor

@t0xic0der i made the package but it gives this when i try to run it.
Screenshot 2020-11-04 at 2 35 35 PM
After i export those two variables it works fine though.
The encoding which the script is using and which it should use are not the same.
Could u tell me how to add encoding based on the environment.
I tried reading https://click.palletsprojects.com/python3/ but could not figure out how to do it.

@gridhead
Copy link
Member Author

gridhead commented Nov 4, 2020

The code environment for the project is UTF-8 compliant only and does not support ASCII, unless added a exporting variable.

But then again, the export is restricted to your programming environment only and should not affect the repository.

Further reading : https://click.palletsprojects.com/en/7.x/python3/#python-3-surrogate-handling

@Sameer-Mann
Copy link
Contributor

okay so now what should i do?

@Sameer-Mann Sameer-Mann removed their assignment Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants