1 line
1.2 KiB
Plaintext
1 line
1.2 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I made a PKGBUILD for a python package, and everything is working fine, except for one thing that breaks: the package needs to generate some assets and puts them in its source directory structure, something like this:</p> <pre><code>/usr/lib/python3.10/site-packages/mypackage/some/path/to/assets </code></pre> <p>This needs to happen whenever the application is launched, because the assets can be expanded/modified later on. However, this is (rightfully) failing with a permission error, because the app itself does not have write permissions in that directory.</p> <p>Is there a way around this that does not involve changes upstream? If not, what's my goal with potential upstream changes? Writing in /usr/share/package? /usr/local/share? Something else?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/brisvag"> /u/brisvag </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/rgwrqh/aur_python_package_and_usrlibpython_write/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/rgwrqh/aur_python_package_and_usrlibpython_write/">[comments]</a></span> |