<html><body>
<p>3 new commits in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/9e83798c717e/">https://bitbucket.org/yt_analysis/yt/commits/9e83798c717e/</a> Changeset:   9e83798c717e Branch:      yt User:        xarthisius Date:        2016-04-08 15:35:50+00:00 Summary:     Detect the legacy setuptools and distribute and die with a meaningful error message Affected #:  1 file</p>
<p>diff -r c7470f10bdc0a7851036a0baa30d88f1d65e4c9c -r 9e83798c717ea251bfe53db27f5d1a6126e78686 setup.py --- a/setup.py +++ b/setup.py @@ -10,12 +10,36 @@</p>
<pre>from setupext import \
    check_for_openmp, check_for_pyembree, read_embree_location, \
    get_mercurial_changeset_id, in_conda_env</pre>
<p>+from distutils.version import LooseVersion +import pkg_resources +</p>
<pre>if sys.version_info < (2, 7):
    print("yt currently requires Python version 2.7")
    print("certain features may fail unexpectedly and silently with older versions.")
    sys.exit(1)
</pre>
<p>+try: +    distribute_ver = \ +        LooseVersion(pkg_resources.get_distribution("distribute").version) +    if distribute_ver < LooseVersion("0.7.3"): +        print("Distribute is a legacy package obsoleted by setuptools.") +        print("We strongly recommend that you just uninstall it.") +        print("If for some reason you cannot do it, you'll need to upgrade it") +        print("to latest version before proceeding:") +        print("    pip install -U distribute") +        sys.exit() +except pkg_resources.DistributionNotFound: +    pass  # yay! + +setuptools_ver = \ +    LooseVersion(pkg_resources.get_distribution("setuptools").version) +if setuptools_ver < LooseVersion("18.0"): +    print("Your setuptools version is too old to properly handle cython extensions.") +    print("Please update setuptools before proceeding:") +    print("    pip install -U setuptools") +    sys.exit(1) +</p>
<pre>MAPSERVER_FILES = []
MAPSERVER_DIRS = [
    "",</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/f30511bc535d/">https://bitbucket.org/yt_analysis/yt/commits/f30511bc535d/</a> Changeset:   f30511bc535d Branch:      yt User:        xarthisius Date:        2016-04-08 15:38:50+00:00 Summary:     Add missing error code Affected #:  1 file</p>
<p>diff -r 9e83798c717ea251bfe53db27f5d1a6126e78686 -r f30511bc535de97180cfc4f87142de620a7b2f94 setup.py --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@</p>
<pre>print("If for some reason you cannot do it, you'll need to upgrade it")
print("to latest version before proceeding:")
print("    pip install -U distribute")</pre>
<ul><li><p>sys.exit()</p></li></ul>
<p>+        sys.exit(1)</p>
<pre>except pkg_resources.DistributionNotFound:
    pass  # yay!
</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/116dd39ae554/">https://bitbucket.org/yt_analysis/yt/commits/116dd39ae554/</a> Changeset:   116dd39ae554 Branch:      yt User:        ngoldbaum Date:        2016-04-20 18:08:05+00:00 Summary:     Merged in xarthisius/yt (pull request #2123)</p>
<p>Detect the legacy setuptools and distribute and die with a meaningful error message. Affected #:  1 file</p>
<p>diff -r 1fdde77a8abd4b1302150bcbae522edb067d63e1 -r 116dd39ae554e73c9b45718afee7c4f5cf593ff2 setup.py --- a/setup.py +++ b/setup.py @@ -10,12 +10,36 @@</p>
<pre>from setupext import \
    check_for_openmp, check_for_pyembree, read_embree_location, \
    get_mercurial_changeset_id, in_conda_env</pre>
<p>+from distutils.version import LooseVersion +import pkg_resources +</p>
<pre>if sys.version_info < (2, 7):
    print("yt currently requires Python version 2.7")
    print("certain features may fail unexpectedly and silently with older versions.")
    sys.exit(1)
</pre>
<p>+try: +    distribute_ver = \ +        LooseVersion(pkg_resources.get_distribution("distribute").version) +    if distribute_ver < LooseVersion("0.7.3"): +        print("Distribute is a legacy package obsoleted by setuptools.") +        print("We strongly recommend that you just uninstall it.") +        print("If for some reason you cannot do it, you'll need to upgrade it") +        print("to latest version before proceeding:") +        print("    pip install -U distribute") +        sys.exit(1) +except pkg_resources.DistributionNotFound: +    pass  # yay! + +setuptools_ver = \ +    LooseVersion(pkg_resources.get_distribution("setuptools").version) +if setuptools_ver < LooseVersion("18.0"): +    print("Your setuptools version is too old to properly handle cython extensions.") +    print("Please update setuptools before proceeding:") +    print("    pip install -U setuptools") +    sys.exit(1) +</p>
<pre>MAPSERVER_FILES = []
MAPSERVER_DIRS = [
    "",</pre>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>

<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27DR4c-2BVmDdehqo3XvLZ3NZMl9K2QjGdyaKJZrxdGS0doQt48POiC2mO-2B8NJmsnQXqmYdidQx-2FUBa9h33ul8NeV4FnhOMEjzaqO9POnEKNtTVtwkshUFZY2pcdcZN4O-2F9jigLlw8frMJi1zNZO9s7E9IiYBmLD-2FqZhGLc3O15ja7ByNQXBvSM3BKw1E-2F4oiLw7M-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>