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

Write a script to copy shared Python libraries to each program's libs subfolder when changing something instead of manually doing it + extract most of the settings and theme-loading code in main.py files out to separate libraries (would need basic stuff like a small class to not break things but most will be pulled out). #238

Open
DrewNaylor opened this issue Jul 14, 2023 · 0 comments

Comments

@DrewNaylor
Copy link
Owner

(Copied from #236)
What I should do is have a "real" version of shared/reused libraries and just have a script that copies them to each program's libs folder. Then the copies in each folder that aren't the main one would be gitignored. I'd still need to have a message in the readme where it says how to run stuff to run a script to copy the libs into each subfolder. This would also allow me to pull out the settings and theme-related code from each main.py file instead of copying everything every time I make a change. Would also help other developers too, but they'd probably find it easier to just copy the libs folder manually instead of editing the script. I'd also have to change stuff so the path to the themes folder can be modified in case a program is not in my folder, but my goal is to have themes be installed to /usr/share/themes and the home folder version, so I'll need to change my paths when it's ready to be released.

@DrewNaylor DrewNaylor changed the title Write a script to copy shared Python libraries to each program's libs subfolder when changing something instead of manually doing it. Write a script to copy shared Python libraries to each program's libs subfolder when changing something instead of manually doing it + extract most of the settings and theme-loading code in main.py files out to separate libraries (would need basic stuff like a small class to not break things but most will be pulled out). Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant