-
Notifications
You must be signed in to change notification settings - Fork 11
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
Verify if required files are in /dist/ and removed pathlib dependency #24
Conversation
Thank you for opening the PR. I will test and review it when possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
Change the things that I noted and I will test and merge it
Also update version.json in the root folder, this is an enhancement. So update to v0.3.0 |
I created a page that can help: https://github.com/ThiaudioTT/hoi4-presence/wiki/Folder-structure |
Now checks if runRPC.bat is valid Added variable for the batch folder path Added exception handling for not being able to find the batch folder Made os.listdir(source) in a with statement so it wasn't called more than once within the for loop Made exceptions easier to read Updated version.json to 0.3.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I will test when time becomes available
Changed runRPC.bat to be in src\discordRPC and updated code in setup.py Removed \batch\ and updated code in setup.py Updated path in runRPC.bat line 5 to not depend on the .bat's file location Reverted changes to src\version.json and applied them to the correct version.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting an error, and it wasn't possible to test further.
Reverted changes to runRPC.bat from prev commit Removed with statement in setup.py Made else exception easier to signify that's there's an error by adding an "Error:" prefix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
I saw these as TODO so I thought I would give them a shot.
Related to #9
setup.py
source
variable fromline 72
toline 29
as it is needed there firstpathlib
dependency withos.path