Closed Zenahr closed 3 years ago
Could you please link the repo you're using it on if possible?
From my understanding, using 'src' on it's own as the path argument should do what you're trying to do
Is it possible you don't have a spec file in the src folder for pyinstaller to use?
This repo might be of use to see if there's any disparity https://github.com/JackMcKew/pyinstaller-action-windows-example
@JackMcKew Thank you for your apt reply! Yeah I haven't added a requirements.txt nor a .spec file to my src folder. That might be it! I'll close this for now and reopen the issue if need be. Thanks for providing the template.
No problem, I suspect that was the issue but please let me know if it doesn't fix it because then we'll have bigger problems haha
@JackMcKew it works perfectly fine! Thank you for your time.
I have the same issue , How did you resolve it? could you help me please @Zenahr
@sjanibekova I'd suggest looking into whether you have a requirements.txt
and a .spec
file in your src
folder with your repo, take a look at the example repository above for how that's laid out and try to follow it. 😄
@sjanibekova I don't have access to the code-base anymore but if I remember correctly it was as simple as adding the .spec
file to the YAML config file as described by Jack.
I have the following folder structure in my project:
And my YAML settings are as follows:
What am I missing here? I also tried with
path: src
but that didn't help. does it have to be something like../../src
?trace: