-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Fersilent edited this page Mar 7, 2024
·
8 revisions
-
To build this project we must have Python 3.8 installed.
-
The python version and venv are created with pyenv
-
To build the project, we execute the commands in section Commands used
- To install all the modules run
source venv/bin/activate
pip install -r requirements.txt
- To install module by module
pip install sqlalchemy
pip install pyqt5==5.15.2
pip install validators
pip install requests
pip install py2app
- We start the application
python src/view/py/main.py
- Clean up your build directories.
rm -rf build dist
- We create the executable to build our application with py2applet.
py2applet --make-setup Programming\ Directories.py resources/main_icon.icns
- We build the application, so that it creates the .app file
python setup.py py2app
- Copy the contents of the missing code by following these steps
a. Enter the "dist" folder
b. In the created application we click on "Show package contents"
c. Copy the "src" folder, inside "/Contents/Resources"