<div dir="ltr">Yes, agree.<div><br></div><div>By the way, this is useful: <a href="https://github.com/ghewgill/pyqver/">https://github.com/ghewgill/pyqver/</a></div><div><br></div><div><div>$ dials.python /tmp/pyqver-master/pyqver2.py libtbx/__init__.py</div><div>2.5<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>libtbx/__init__.py</div></div><div><br></div><div>It seems it would not be impossible to add something like this to clean_clutter or similar.</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">-- David<br></div></div>
<br><div class="gmail_quote">On 15 September 2016 at 12:38,  <span dir="ltr">&lt;<a href="mailto:richard.gildea@diamond.ac.uk" target="_blank">richard.gildea@diamond.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That is correct for cctbx as a whole, but we do (or at least did) support installation using the bootstrap script on systems with Python 2.4. See e.g.<br>
<br>
<a href="https://sourceforge.net/p/cctbx/code/24426" rel="noreferrer" target="_blank">https://sourceforge.net/p/<wbr>cctbx/code/24426</a><br>
<span class=""><br>
Cheers,<br>
<br>
Richard<br>
<br>
Dr Richard Gildea<br>
Data Analysis Scientist<br>
Tel: <a href="tel:%2B441235%2077%208078" value="+441235778078">+441235 77 8078</a><br>
<br>
Diamond Light Source Ltd.<br>
Diamond House<br>
Harwell Science &amp; Innovation Campus<br>
Didcot<br>
Oxfordshire<br>
OX11 0DE<br>
</span>______________________________<wbr>__<br>
From: <a href="mailto:cctbxbb-bounces@phenix-online.org">cctbxbb-bounces@phenix-online.<wbr>org</a> [<a href="mailto:cctbxbb-bounces@phenix-online.org">cctbxbb-bounces@phenix-<wbr>online.org</a>] on behalf of David Waterman [<a href="mailto:dgwaterman@gmail.com">dgwaterman@gmail.com</a>]<br>
Sent: 15 September 2016 12:34<br>
To: cctbx mailing list<br>
Subject: Re: [cctbxbb] Python 2.4 compatibility<br>
<span class=""><br>
Hi Richard,<br>
<br>
According to Nat on 15th October 2012, CCTBX officially stopped supporting Python 2.4. Here&#39;s the text of his message:<br>
<br>
<br>
FYI for those of you who didn&#39;t get my original email: the minimum<br>
Python version required for CCTBX is now 2.5, so for anyone<br>
contributing to CCTBX, you can now use more advanced syntax such as<br>
&quot;with&quot; and &quot;try/except/else/finally&quot; (and decorators, which were<br>
already supported in 2.4, but we haven&#39;t used them so far).  Full list<br>
of changes in 2.5 here:<br>
<br>
<a href="http://docs.python.org/whatsnew/2.5.html" rel="noreferrer" target="_blank">http://docs.python.org/<wbr>whatsnew/2.5.html</a><br>
<br>
-Nat<br>
<br>
Cheers<br>
<br>
-- David<br>
<br>
</span><span class="">On 15 September 2016 at 12:22, &lt;<a href="mailto:richard.gildea@diamond.ac.uk">richard.gildea@diamond.ac.uk</a>&lt;<wbr>mailto:<a href="mailto:richard.gildea@diamond.ac.uk">richard.gildea@diamond.<wbr>ac.uk</a>&gt;&gt; wrote:<br>
This commit uses the &quot;with&quot; statement, which was introduced in Python 2.5, to libtbx/__init__.py, preventing installation of DIALS from sources on systems with Python 2.4:<br>
<br>
<a href="https://sourceforge.net/p/cctbx/code/25101/" rel="noreferrer" target="_blank">https://sourceforge.net/p/<wbr>cctbx/code/25101/</a><br>
<br>
Could this code be changed to remove the use of the &quot;with&quot; statement?<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
Dr Richard Gildea<br>
Data Analysis Scientist<br>
</span>Tel: <a href="tel:%2B441235%2077%208078" value="+441235778078">+441235 77 8078</a>&lt;tel:%2B441235%2077%208078&gt;<br>
<span class=""><br>
Diamond Light Source Ltd.<br>
Diamond House<br>
Harwell Science &amp; Innovation Campus<br>
Didcot<br>
Oxfordshire<br>
OX11 0DE<br>
<br>
--<br>
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br>
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.<br>
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br>
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br>
<br>
<br>
______________________________<wbr>_________________<br>
cctbxbb mailing list<br>
</span><a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a>&lt;<wbr>mailto:<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.<wbr>org</a>&gt;<br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/cctbxbb</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>