How do I convert python app to exe that is dependent on project directory structure and data template?

Viewed 9

I have built an app in python that is structured based on the project directory structure in PyCharm. The app sources different scripts from different .py files and also references data templates that are saved in the project directory.

I am trying to figure out how to convert this to an executable. I have tried pyinstaller and it did not work. I am trying to use cx_freeze and cannot get that to work at all.

Below is a screenshot of the project directory that I am configured to and I have provided a few screenshots of how I am cross-referencing different py scripts as well as excel data templates that SQL data is loaded into.

Can someone please advise how to get an executable to work? Should I separate the data templates into an external folder and point to the external folder in the app?

Project Directory Structure: Directory Structure

How I am cross-referencing .py files: Cross Referencing of .py files

Excel templates within project directory. SQL data extracts are saved in this directory and then a vba macro is executed from python to finish the data transformation and analysis. Excel Templates in project directory

Thank you in advance for the assistance!

0 Answers
Related