<div dir="ltr"><div class="gmail_extra">I am the packager of mkdocs.</div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
During the review of mkdocs[1], which is a python package for<br>
generating static webpages, I (as reviewer) noticed that it installs a<br>
lot of themes (javascript, fonts and the like) under<br>
/usr/lib/python3/site-packages/mkdocs/themes.<br>
<br></blockquote><div><br></div><div>python-sphinx Ipython python-werkzeug and python-django also put .js files under <span style="color:rgb(0,0,0);white-space:pre-wrap">%{python2_sitelib}  or </span><span style="color:rgb(0,0,0);white-space:pre-wrap">%{python3_sitelib} and this only a simple find in my system, so it is safe to think than  many python packages put arch indepent data under </span><span style="color:rgb(0,0,0);white-space:pre-wrap">%{python2_sitelib} and </span><span style="color:rgb(0,0,0);white-space:pre-wrap">%{python3_sitelib} , removing </span><span style="font-size:13px"> bundled fonts and replaced with symlinks.</span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">So all those packages must be fixed or mkdocs can put this data under </span><span style="color:rgb(0,0,0);white-space:pre-wrap">%{python3_sitelib}</span></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My feeling is that this static architecture independent data should<br>
really be installed under /usr/share/mkdocs to comply with the FHS[2].<br>
But the packager (quite reasonably) points out that other packages<br>
such as sphinx install templates and themes under<br>
/usr/lib/python3/site-packages.<br>
<br></blockquote><div><br></div><div>For me the data under <span style="color:rgb(0,0,0);white-space:pre-wrap">%{python3_sitelib} is arch indepent, Python code that is not arch indepent is under </span><font color="#000000"><span style="white-space:pre-wrap">%{python3_sitearch} so the arch independent argument is not good enough to move these files. </span></font></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">See: </span><span style="white-space:pre-wrap;color:rgb(0,0,0)"><a href="https://en.opensuse.org/openSUSE:Packaging_Python#System_Architecture">https://en.opensuse.org/openSUSE:Packaging_Python#System_Architecture</a></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So, the question is: is it acceptable for this package to install arch<br>
independent themes (i.e. non-python code) under<br>
/usr/lib/python3/site-packages ?<br>
<br></blockquote><div><br></div><div>For me put these files under  /usr/lib/python3/site-packages  is not a bad packaging.</div></div></div></div>