{"id":192,"date":"2007-02-07T01:21:04","date_gmt":"2007-02-07T06:21:04","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=192"},"modified":"2007-02-07T01:21:04","modified_gmt":"2007-02-07T06:21:04","slug":"packaging-python-is-hard","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/192\/packaging-python-is-hard\/","title":{"rendered":"Packaging Python is Hard"},"content":{"rendered":"<p>I just spent 30 minutes or so trying to understand the <a xhref=\"http:\/\/www.debian.org\/doc\/packaging-manuals\/python-policy\/\">Python Packaging Policy<\/a> for Debian. I&#8217;m no more informed than I was an hour ago, and my head hurts a lot more. :\/<\/p>\n<p>This isn&#8217;t helped by the fact that I want to support etch++ (because that&#8217;s what most people use) and sarge (because that&#8217;s what I&#8217;m working on at work). Sigh. Packaging is hard.<\/p>\n<p>For most of the stuff I package, I just dump things in someplace in \/usr\/lib\/, but now I need to figure out how to get my python code into the right place in \/usr\/lib\/pythonX.Y\/site-packages &#8230; but my modules support any version of Python that debian ships! So where do they go? I have no clue. Do I need to build multiple binary packages &#8212; one for each version of Python &#8212; for my single source pacakge? I have a feeling that something is supposed to take care of this for me, but I don&#8217;t know if it&#8217;s dh_pycentral, dh_python, or dh_pythonsupport or what have you, and I don&#8217;t know how to get any of them to kick in. Augh.<\/p>\n<p>Oh well. Packaging this one will just have to wait a bit longer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just spent 30 minutes or so trying to understand the Python Packaging Policy for Debian. I&#8217;m no more informed than I was an hour ago, and my head hurts a lot more. :\/ This isn&#8217;t helped by the fact that I want to support etch++ (because that&#8217;s what most people use) and sarge (because [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-192","post","type-post","status-publish","format-standard","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=192"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/192\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}