moonraker icon indicating copy to clipboard operation
moonraker copied to clipboard

Don't use the global `data` directory

Open FFY00 opened this issue 5 months ago • 4 comments

Putting data in the global data directory is not recommended, a better place for data generally is to install it as a subpackage. This PR makes that change.

Additionally, it's unclear to me how the moonraker config in update manager isn't broken, since requirements and system_dependencies specify set the base path to the Python package (moonraker.utils.source_info.source_path) but the files aren't installed there.

https://github.com/Arksine/moonraker/blob/f735c0419444848b59342a98ad3532eef123ea46/moonraker/components/update_manager/common.py#L24-L43

FFY00 avatar Aug 28 '24 02:08 FFY00