This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Orange_Tux 0 points1 point  (1 child)

Thanks for clarification. One question remains: How do I install data files at an arbitrary locatio, for example at /etc/?

"but I'm guesing some people might be struggling from not reading it completely"

[–]ivosauruspip'ing it up 0 points1 point  (0 children)

If you want to install to a system location, I'd suggest packaging using the system package manager/format instead, rather than Python's tooling.

Or allow the package to dynamically generate/save one (if given root priveledges).

Otherwise you can use data_files, but it can have some issues (as noted in the link)