Details
Description
When installing Apache's Python component "Agility", you get fail:
% bin/pip install oodt==0.10 Collecting oodt==0.10 Using cached oodt-0.10.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 20, in <module> File "/private/var/folders/gh/sn_rdb4s4tjfnpyztrq7tsxm0000gn/T/pip-build-5tUOTJ/oodt/setup.py", line 19, in <module> from ez_setup import use_setuptools ImportError: No module named ez_setup ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/gh/sn_rdb4s4tjfnpyztrq7tsxm0000gn/T/pip-build-5tUOTJ/oodt
But 0.9 works fine:
fatalii 291 % bin/pip install oodt==0.9 Collecting oodt==0.9 Downloading oodt-0.9.tar.gz Building wheels for collected packages: oodt Running setup.py bdist_wheel for oodt Stored in directory: /Users/kelly/Library/Caches/pip/wheels/ef/81/a1/f415870dfd79c1791751cb1c9f75a4019078600638556d7784 Successfully built oodt Installing collected packages: oodt Successfully installed oodt-0.9
It looks like ez_setup.py is missing from oodt-0.10:
% curl -sL 'https://pypi.python.org/packages/source/o/oodt/oodt-0.10.tar.gz#md5=50f1e2cc16a322b69def458ba2e72395' | tar tzf - | egrep ez_setup.py %
It was included in oodt-0.9:
fatalii 296 % curl -sL 'https://pypi.python.org/packages/source/o/oodt/oodt-0.9.tar.gz#md5=a81713f37f493089bd041ffb2636ba21' | tar tzf - | egrep ez_setup.py oodt-0.9/ez_setup.py
I'm guessing the switch between version control systems might've done it. We'll need to update the MANIFEST.in file and ensure ez_setup.py gets included.