Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to compile exe and FQA #7

Closed
ma0c opened this issue Nov 7, 2018 · 4 comments
Closed

Instructions to compile exe and FQA #7

ma0c opened this issue Nov 7, 2018 · 4 comments
Labels

Comments

@ma0c
Copy link

ma0c commented Nov 7, 2018

After do some modifications, how you create a new .exe?

@mrf345
Copy link
Owner

mrf345 commented Dec 5, 2018

Hi @ma0c , sorry for the late replay, i had to extract the configuration files from my building environment which was failing.

In order to build the project successfully, you will have to follow the following steps:

  1. Make sure to install pyinstaller pip install pyinstaller
  2. Make sure to have all the requirements of the project installed pip install -r requirements.txt
  3. Make sure to modify run.spec to be suited for your own environment settings, things to look out for:
  • Modify the project directory here to suite your environment
  • Make sure to copy the icon file to the project main directory.
  1. After the previous modifications are done, run the command pyinstaller run.spec
  2. Make sure to have the templates, static, gt_cached.json and data.sqlite in the main directory where the generated .exe file is.

Good luck

@mrf345 mrf345 added the question label Dec 5, 2018
@liqinsg
Copy link

liqinsg commented Feb 19, 2019

What could be the issue?

python run.py get the err msg

run.py: cannot connect to X server

@mrf345
Copy link
Owner

mrf345 commented Feb 19, 2019

@liqinnetgain It comes with a GUI built with PySide. So if you're running Linux without a desktop environment, it won't run.

@mrf345 mrf345 changed the title Instructions to compile exe Instructions to compile exe and FQA Feb 19, 2019
@mrf345 mrf345 closed this as completed Dec 30, 2019
@Amrgoudaelsaid
Copy link

Can you provide us with simple for the below step:

3- Make sure to modify run.spec to be suited for your own environment settings, things to look out for:
Modify the project directory here to suite your environment
Make sure to copy the icon file to the project main directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants