{"id":95,"date":"2013-04-23T15:07:55","date_gmt":"2013-04-23T13:07:55","guid":{"rendered":"http:\/\/www.marc-cesarine.fr\/?p=95"},"modified":"2013-04-23T15:07:55","modified_gmt":"2013-04-23T13:07:55","slug":"compilation-python3-3-sous-debian","status":"publish","type":"post","link":"https:\/\/www.marc-cesarine.fr\/?p=95","title":{"rendered":"Compilation Python3.3 sous Debian"},"content":{"rendered":"<p>R\u00e9cup\u00e9rer la tarball depuis les sites officiels (ici la 3.3.1)<br \/>\n<code><br \/>\nwget http:\/\/www.python.org\/ftp\/python\/3.3.1\/Python-3.3.1.tar.xz<br \/>\n<\/code><\/p>\n<p>Installer les d\u00e9pendances pour la compil<br \/>\n<code><br \/>\napt-get install build-essential zlib1g-dev libbz2-dev libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev libgdbm-dev liblzma-dev tk8.5-dev<br \/>\n<\/code><\/p>\n<p>D\u00e9compresser la tarball<br \/>\n<code><br \/>\ntar -Jxvf Python-3.3.1.tar.xz<br \/>\n<\/code><\/p>\n<p>Compiler avec l&rsquo;option de g\u00e9n\u00e9ration de librairie partag\u00e9e (utile pour compilation mod_wsgi par exemple)<br \/>\n<code><br \/>\ncd Python-3.3.1<br \/>\n.\/configure --enable-shared<br \/>\nmake<br \/>\nmake install<br \/>\n<\/code><\/p>\n<p>Petit v\u00e9rif de fonctionnement<br \/>\n<code><br \/>\npython3 -V<br \/>\nPython 3.3.1<br \/>\n<\/code><\/p>\n<p>Ca marche \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\u00e9cup\u00e9rer la tarball depuis les sites officiels (ici la 3.3.1) wget http:\/\/www.python.org\/ftp\/python\/3.3.1\/Python-3.3.1.tar.xz Installer les d\u00e9pendances pour la compil apt-get install build-essential zlib1g-dev libbz2-dev libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev libgdbm-dev liblzma-dev tk8.5-dev D\u00e9compresser la tarball tar -Jxvf Python-3.3.1.tar.xz Compiler avec l&rsquo;option de g\u00e9n\u00e9ration de librairie partag\u00e9e (utile pour compilation mod_wsgi par exemple) cd Python-3.3.1 .\/configure &#8211;enable-shared make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-systeme"],"_links":{"self":[{"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":0,"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marc-cesarine.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}