Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py issue w/stevedore==0.12 #147

Open
mtripoli opened this issue Sep 23, 2013 · 5 comments
Open

setup.py issue w/stevedore==0.12 #147

mtripoli opened this issue Sep 23, 2013 · 5 comments
Labels

Comments

@mtripoli
Copy link
Contributor

cc/@dhellmann
cc/@jd

During the installation of requirements phase of setup.py, the module installed following the installation of stevedore fails with the stacktrace below and setup.py terminates. This only seems to be a problem when setup.py installs stevedore. That is, a subsequent run of setup.py succeeds because stevedore is already installed.

This problem can be avoided by pinning the stevedore==0.11.

[mtripoli@mtripolibake-aminator]# sudo python setup.py install
.
.
.
Searching for stevedore
Reading http://pypi.python.org/simple/stevedore/
Best match: stevedore 0.12
Downloading https://pypi.python.org/packages/source/s/stevedore/stevedore-0.12.tar.gz#md5=8bf1b7bed06bf5ab636784d161f1a494
Processing stevedore-0.12.tar.gz
Writing /tmp/easy_install-h9gGoz/stevedore-0.12/setup.cfg
Running stevedore-0.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-h9gGoz/stevedore-0.12/egg-dist-tmp-10gBJL
Checking .pth file support in .
/usr/bin/python2.7 -E -c pass
Searching for pbr>=0.5.21,<1.0
Reading http://pypi.python.org/simple/pbr/
Best match: pbr 0.5.21
Downloading https://pypi.python.org/packages/source/p/pbr/pbr-0.5.21.tar.gz#md5=1dafd1ef666b9bce4d880170ddc39387
Processing pbr-0.5.21.tar.gz
Writing /tmp/easy_install-h9gGoz/stevedore-0.12/temp/easy_install-a5665h/pbr-0.5.21/setup.cfg
Running pbr-0.5.21/setup.py -q bdist_egg --dist-dir /tmp/easy_install-h9gGoz/stevedore-0.12/temp/easy_install-a5665h/pbr-0.5.21/egg-dist-tmp-iqn_LU

Installed /tmp/easy_install-h9gGoz/stevedore-0.12/pbr-0.5.21-py2.7.egg
Adding stevedore 0.12 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/stevedore-0.12-py2.7.egg
Searching for logutils
Reading http://pypi.python.org/simple/logutils/
Best match: logutils 0.3.3
Downloading https://pypi.python.org/packages/source/l/logutils/logutils-0.3.3.tar.gz#md5=07b2a31d3d48e4f748363d33c03639cd
Processing logutils-0.3.3.tar.gz
Writing /tmp/easy_install-srMmve/logutils-0.3.3/setup.cfg
Running logutils-0.3.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-LjLbAJ/logutils-0.3.3/egg-dist-tmp-5dCMAC
Traceback (most recent call last):
  File "setup.py", line 105, in <module>
    'Topic :: Utilities',
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 73, in run
  File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 101, in do_egg_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 358, in run

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 578, in easy_install

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 630, in install_item

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 682, in process_distribution

  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 563, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 799, in best_match
    return self.obtain(req, installer) # try and download/install
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 811, in obtain
    return installer(requirement)
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 598, in easy_install

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 628, in install_item

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 823, in install_eggs

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1103, in build_and_install

  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1089, in run_setup

  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 33, in run_setup
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 81, in run
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 35, in <lambda>
  File "setup.py", line 60, in <module>

  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 970, in run_command
    cmd_obj = self.get_command_obj(command)
  File "/usr/lib64/python2.7/distutils/dist.py", line 846, in get_command_obj
    cmd_obj = self.command_obj[command] = klass(self)
  File "build/bdist.linux-x86_64/egg/setuptools/__init__.py", line 70, in __init__
  File "/usr/lib64/python2.7/distutils/cmd.py", line 59, in __init__
    raise TypeError, "dist must be a Distribution instance"
TypeError: dist must be a Distribution instance```
@mtripoli
Copy link
Contributor Author

Here I show that the problem does not exist with stevedore==0.11 .

[mtripoli@mtripolibake-aminator]# sudo python setup.py install
.
.
.
Searching for stevedore==0.11
Reading http://pypi.python.org/simple/stevedore/
Best match: stevedore 0.11
Downloading https://pypi.python.org/packages/source/s/stevedore/stevedore-0.11.tar.gz#md5=123e73015803e32951e1850cfb4817b9
Processing stevedore-0.11.tar.gz
Writing /tmp/easy_install-4trqbC/stevedore-0.11/setup.cfg
Running stevedore-0.11/setup.py -q bdist_egg --dist-dir /tmp/easy_install-4trqbC/stevedore-0.11/egg-dist-tmp-R4MREu
warning: no files found matching '*.html' under directory 'docs'
warning: no files found matching '*.css' under directory 'docs'
warning: no files found matching '*.js' under directory 'docs'
warning: no files found matching '*.png' under directory 'docs'
warning: no files found matching '*.py' under directory 'tests'
Adding stevedore 0.11 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/stevedore-0.11-py2.7.egg
Searching for logutils
Reading http://pypi.python.org/simple/logutils/
Best match: logutils 0.3.3
Downloading https://pypi.python.org/packages/source/l/logutils/logutils-0.3.3.tar.gz#md5=07b2a31d3d48e4f748363d33c03639cd
Processing logutils-0.3.3.tar.gz
Writing /tmp/easy_install-b7MBTZ/logutils-0.3.3/setup.cfg
Running logutils-0.3.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-b7MBTZ/logutils-0.3.3/egg-dist-tmp-IxfNy4
zip_safe flag not set; analyzing archive contents...
Adding logutils 0.3.3 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/logutils-0.3.3-py2.7.egg
Searching for envoy
Reading http://pypi.python.org/simple/envoy/
Best match: envoy 0.0.2
Downloading https://pypi.python.org/packages/source/e/envoy/envoy-0.0.2.tar.gz#md5=725a9fd05cf72ff4481ce240f4b3660f
Processing envoy-0.0.2.tar.gz
Writing /tmp/easy_install-Oh10wt/envoy-0.0.2/setup.cfg
Running envoy-0.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Oh10wt/envoy-0.0.2/egg-dist-tmp-ughe_v
zip_safe flag not set; analyzing archive contents...
Adding envoy 0.0.2 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/envoy-0.0.2-py2.7.egg
Searching for decorator
Reading http://pypi.python.org/simple/decorator/
Best match: decorator 3.4.0
Downloading https://pypi.python.org/packages/source/d/decorator/decorator-3.4.0.tar.gz#md5=1e8756f719d746e2fc0dd28b41251356
Processing decorator-3.4.0.tar.gz
Writing /tmp/easy_install-CjxNQO/decorator-3.4.0/setup.cfg
Running decorator-3.4.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CjxNQO/decorator-3.4.0/egg-dist-tmp-XFzDGG
warning: no previously-included files found matching 'Makefile'
Adding decorator 3.4.0 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/decorator-3.4.0-py2.7.egg
Searching for bunch
Reading http://pypi.python.org/simple/bunch/
Best match: bunch 1.0.1
Downloading https://pypi.python.org/packages/source/b/bunch/bunch-1.0.1.zip#md5=1d89b4e6ac970368cba8d8d47b2ba915
Processing bunch-1.0.1.zip
Writing /tmp/easy_install-eXtpnI/bunch-1.0.1/setup.cfg
Running bunch-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eXtpnI/bunch-1.0.1/egg-dist-tmp-aOvhK_
zip_safe flag not set; analyzing archive contents...
Adding bunch 1.0.1 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/bunch-1.0.1-py2.7.egg
Searching for requests==1.2.3
Best match: requests 1.2.3
Processing requests-1.2.3-py2.7.egg
Adding requests 1.2.3 to easy-install.pth file

Using /usr/lib/python2.7/site-packages/requests-1.2.3-py2.7.egg
Searching for PyYAML==3.10
Best match: PyYAML 3.10
Processing PyYAML-3.10-py2.7-linux-x86_64.egg
Adding PyYAML 3.10 to easy-install.pth file

Using /usr/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-x86_64.egg
Searching for boto==2.11.0
Best match: boto 2.11.0
Processing boto-2.11.0-py2.7.egg
Adding boto 2.11.0 to easy-install.pth file
Installing s3put script to /usr/bin
Installing launch_instance script to /usr/bin
Installing fetch_file script to /usr/bin
Installing lss3 script to /usr/bin
Installing elbadmin script to /usr/bin
Installing pyami_sendmail script to /usr/bin
Installing taskadmin script to /usr/bin
Installing glacier script to /usr/bin
Installing cfadmin script to /usr/bin
Installing bundle_image script to /usr/bin
Installing list_instances script to /usr/bin
Installing asadmin script to /usr/bin
Installing kill_instance script to /usr/bin
Installing dynamodb_load script to /usr/bin
Installing sdbadmin script to /usr/bin
Installing route53 script to /usr/bin
Installing cq script to /usr/bin
Installing cwutil script to /usr/bin
Installing mturk script to /usr/bin
Installing dynamodb_dump script to /usr/bin
Installing instance_events script to /usr/bin

Using /usr/lib/python2.7/site-packages/boto-2.11.0-py2.7.egg
Finished processing dependencies for aminator==2.0.174-dev

@dhellmann
Copy link

I'm not sure if this is the only problem, but it might be related to the fact that you're still using distribute. Now that setuptools and distribute have merged again, it's better to just rely on having setuptools installed. I would remove distribute_setup.py from your package and change setup.py to not import it. (see #148)

You might also want to have a look at pbr (https://github.com/openstack-dev/pbr/) for handling things like requirements.txt, automatic version and package detection, and a bunch of other simplifications to packaging.

@dhellmann
Copy link

See #150 instead.

@mtripoli
Copy link
Contributor Author

cc/@dhellmann - pulling private thread back into this issue.

I have been testing against the system's /usr/lib/python2.7/site-packages. No tox or virtualenv involved. I am now more convinced that this problem has nothing to do with the environment.

Starting with a fresh build of python2.7.5, installed the latest setuptools and pip following the guidelines on pip-installer.org.

Next created a "useless" library with a distribute-less setup.py a'la #150 and with the same requirements.txt as aminator. Running the useless setup.py results in error and trace below. The stack trace differs but the error is the same as in issue #147.
While this looks like a problem with the requests library, it is actually induced by the installation of the stevedore. It seems like the stevedore setup (pbr?) corrupts something in the namespace of the aminator setup.py execution. Just to reiterate, this problem does not exist with stevedore==0.11.

Installed /tmp/py/lib/python2.7/site-packages/stevedore-0.12-py2.7.egg
Searching for requests
Reading https://pypi.python.org/simple/requests/
Best match: requests 2.0.0
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.0.0.tar.gz#md5=856fc825c17483e25fd55db115028e3f
Processing requests-2.0.0.tar.gz
Writing /tmp/easy_install-jwRM5f/requests-2.0.0/setup.cfg
Running requests-2.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-jwRM5f/requests-2.0.0/egg-dist-tmp-_dEpHP
/tmp/py/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
  warnings.warn(msg)
/tmp/py/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'
  warnings.warn(msg)
/tmp/py/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    license='ASL 2.0',
  File "/tmp/py/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/tmp/py/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/tmp/py/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 73, in run
  File "build/bdist.linux-x86_64/egg/setuptools/command/install.py", line 101, in do_egg_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 374, in run
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 590, in easy_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 641, in install_item
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 687, in process_distribution
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 568, in resolve
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 806, in best_match
  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 818, in obtain
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 609, in easy_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 639, in install_item
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 825, in install_eggs
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1031, in build_and_install
  File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1016, in run_setup
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 69, in run_setup
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 120, in run
  File "build/bdist.linux-x86_64/egg/setuptools/sandbox.py", line 71, in <lambda>
  File "setup.py", line 54, in <module>

  File "/tmp/py/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/tmp/py/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/tmp/py/lib/python2.7/distutils/dist.py", line 970, in run_command
    cmd_obj = self.get_command_obj(command)
  File "/tmp/py/lib/python2.7/distutils/dist.py", line 846, in get_command_obj
    cmd_obj = self.command_obj[command] = klass(self)
  File "build/bdist.linux-x86_64/egg/setuptools/__init__.py", line 69, in __init__
  File "/tmp/py/lib/python2.7/distutils/cmd.py", line 59, in __init__
    raise TypeError, "dist must be a Distribution instance"
TypeError: dist must be a Distribution instance

Here setup.py is run in the pdb. dist is type instance?

 python -m pdb setup.py install
> /usr/src/python/useless/setup.py(1)<module>()
-> from setuptools import setup, find_packages
(Pdb) c
running install
.
.
.
   _Command.__init__(self,dist)
  File "/tmp/py/lib/python2.7/distutils/cmd.py", line 59, in __init__
    raise TypeError, "dist must be a Distribution instance"
TypeError: dist must be a Distribution instance
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /tmp/py/lib/python2.7/distutils/cmd.py(59)__init__()
-> raise TypeError, "dist must be a Distribution instance"
(Pdb) dist
<distutils.dist.Distribution instance at 0x1e64d40>
(Pdb) type(dist)
<type 'instance'>
(Pdb) dir(dist)
['__doc__', '__init__', '__module__', '_get_toplevel_options', '_parse_command_opts', '_set_command_options', '_show_help', 'announce', 'author', 'author_email', 'classifiers', 'cmdclass', 'command_obj', 'command_options', 'command_packages', 'commands', 'common_usage', 'contact', 'contact_email', 'data_files', 'description', 'display_option_names', 'display_options', 'dist_files', 'dry_run', 'dump_option_dicts', 'ext_modules', 'ext_package', 'extra_path', 'finalize_options', 'find_config_files', 'fullname', 'get_author', 'get_author_email', 'get_classifiers', 'get_command_class', 'get_command_list', 'get_command_obj', 'get_command_packages', 'get_contact', 'get_contact_email', 'get_description', 'get_download_url', 'get_fullname', 'get_keywords', 'get_license', 'get_long_description', 'get_maintainer', 'get_maintainer_email', 'get_name', 'get_obsoletes', 'get_option_dict', 'get_platforms', 'get_provides', 'get_requires', 'get_url', 'get_version', 'global_options', 'handle_display_options', 'has_c_libraries', 'has_data_files', 'has_ext_modules', 'has_headers', 'has_modules', 'has_pure_modules', 'has_scripts', 'have_run', 'headers', 'help', 'help_commands', 'include_dirs', 'is_pure', 'keywords', 'libraries', 'licence', 'license', 'long_description', 'maintainer', 'maintainer_email', 'metadata', 'name', 'negative_opt', 'obsoletes', 'package_data', 'package_dir', 'packages', 'parse_command_line', 'parse_config_files', 'password', 'platforms', 'print_command_list', 'print_commands', 'provides', 'py_modules', 'reinitialize_command', 'requires', 'run_command', 'run_commands', 'script_args', 'script_name', 'scripts', 'url', 'verbose', 'version', 'want_user_cfg']
(Pdb) print dist.__doc__
The core of the Distutils.  Most of the work hiding behind 'setup'
    is really done within a Distribution instance, which farms the work out
    to the Distutils commands specified on the command line.

    Setup scripts will almost never instantiate Distribution directly,
    unless the 'setup()' function is totally inadequate to their needs.
    However, it is conceivable that a setup script might wish to subclass
    Distribution for some specialized purpose, and then pass the subclass
    to 'setup()' as the 'distclass' keyword argument.  If so, it is
    necessary to respect the expectations that 'setup' has of Distribution.
    See the code for 'setup()', in core.py, for details.

(Pdb) help(dist)
*** No help on (dist)
(Pdb) dist
<distutils.dist.Distribution instance at 0x1e64d40>
(Pdb) dist.__module__
'distutils.dist'
(Pdb) 

@dhellmann
Copy link

That's definitely odd. We have seen that error many times with the new setuptools, and it has always been due to upgrading setuptools as a dependency of another project.

As a test, I ran pip against aminator's trunk ("pip install .") from before I submitted the pull request (commit 96efa7d), and it worked (even though distribute does end up being installed). Running "python setup.py install" fails, as you reported. This is pretty much the behavior we've seen in the past with the setuptools upgrade issue.

hubert:aminator (git:master:96efa7d "2.0.174")$ mktmpenv
New python executable in tmp-b0f6521dd9663fda/bin/python
Installing Setuptools..............................................................................................................................................................................................................................done.
Installing Pip.....................................................................................................................................................................................................................................................................................................................................done.
This is a temporary environment. It will be deleted when you run 'deactivate'.
(tmp-b0f6521dd9663fda)hubert:tmp-b0f6521dd9663fda$ cd ~/Devel/aminator/aminator/
(tmp-b0f6521dd9663fda)hubert:aminator (git:master:96efa7d "2.0.174")$ pip freeze
wsgiref==0.1.2
(tmp-b0f6521dd9663fda)hubert:aminator (git:master:96efa7d "2.0.174")$ pip --version
pip 1.4.1 from /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/lib/python2.7/site-packages (python 2.7)
(tmp-b0f6521dd9663fda)hubert:aminator (git:master:96efa7d "2.0.174")$ pip install .
Unpacking /Users/dhellmann/Devel/aminator/aminator
Running setup.py egg_info for package from file:///Users/dhellmann/Devel/aminator/aminator
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.34.tar.gz
Extracting in /var/folders/5q/8gk0wq888xlggz008k8dr7180000hg/T/tmpkK_odn
Now working in /var/folders/5q/8gk0wq888xlggz008k8dr7180000hg/T/tmpkK_odn/distribute-0.6.34
Building a Distribute egg in /private/var/folders/5q/8gk0wq888xlggz008k8dr7180000hg/T/pip-QY9O9L-build
/private/var/folders/5q/8gk0wq888xlggz008k8dr7180000hg/T/pip-QY9O9L-build/distribute-0.6.34-py2.7.egg

Downloading/unpacking boto>=2.7 (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fb%2Fboto%2Fboto-2.13.3.tar.gz
Running setup.py egg_info for package boto

warning: no files found matching 'boto/mturk/test/*.doctest'
warning: no files found matching 'boto/mturk/test/.gitignore'

Downloading/unpacking bunch (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fb%2Fbunch%2Fbunch-1.0.1.tar.gz
Running setup.py egg_info for package bunch

Downloading/unpacking decorator (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fd%2Fdecorator%2Fdecorator-3.4.0.tar.gz
Running setup.py egg_info for package decorator

warning: no previously-included files found matching 'Makefile'

Downloading/unpacking distribute (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fd%2Fdistribute%2Fdistribute-0.7.3.zip
Running setup.py egg_info for package distribute

Downloading/unpacking envoy (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fe%2Fenvoy%2Fenvoy-0.0.2.tar.gz
Running setup.py egg_info for package envoy

Downloading/unpacking logutils (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fl%2Flogutils%2Flogutils-0.3.3.tar.gz
Running setup.py egg_info for package logutils

Downloading/unpacking pyyaml (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FP%2FPyYAML%2FPyYAML-3.10.tar.gz
Running setup.py egg_info for package pyyaml

Downloading/unpacking requests (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fr%2Frequests%2Frequests-2.0.0.tar.gz
Running setup.py egg_info for package requests

Downloading/unpacking stevedore (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fs%2Fstevedore%2Fstevedore-0.12.tar.gz
Running setup.py egg_info for package stevedore

Installed /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/build/stevedore/pbr-0.5.21-py2.7.egg
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found

warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no files found matching '*.py' under directory 'tests'

Downloading/unpacking simplejson (from aminator==2.0.174-dev)
Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fs%2Fsimplejson%2Fsimplejson-3.3.0.tar.gz
Running setup.py egg_info for package simplejson

Requirement already satisfied (use --upgrade to upgrade): setuptools>=0.7 in /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/lib/python2.7/site-packages (from distribute->aminator==2.0.174-dev)
Installing collected packages: boto, bunch, decorator, envoy, logutils, pyyaml, requests, stevedore, simplejson, aminator, distribute
Running setup.py install for boto

warning: no files found matching 'boto/mturk/test/*.doctest'
warning: no files found matching 'boto/mturk/test/.gitignore'
changing mode of build/scripts-2.7/sdbadmin from 644 to 755
changing mode of build/scripts-2.7/elbadmin from 644 to 755
changing mode of build/scripts-2.7/cfadmin from 644 to 755
changing mode of build/scripts-2.7/s3put from 644 to 755
changing mode of build/scripts-2.7/fetch_file from 644 to 755
changing mode of build/scripts-2.7/launch_instance from 644 to 755
changing mode of build/scripts-2.7/list_instances from 644 to 755
changing mode of build/scripts-2.7/taskadmin from 644 to 755
changing mode of build/scripts-2.7/kill_instance from 644 to 755
changing mode of build/scripts-2.7/bundle_image from 644 to 755
changing mode of build/scripts-2.7/pyami_sendmail from 644 to 755
changing mode of build/scripts-2.7/lss3 from 644 to 755
changing mode of build/scripts-2.7/cq from 644 to 755
changing mode of build/scripts-2.7/route53 from 644 to 755
changing mode of build/scripts-2.7/cwutil from 644 to 755
changing mode of build/scripts-2.7/instance_events from 644 to 755
changing mode of build/scripts-2.7/asadmin from 644 to 755
changing mode of build/scripts-2.7/glacier from 644 to 755
changing mode of build/scripts-2.7/mturk from 644 to 755
changing mode of build/scripts-2.7/dynamodb_dump from 644 to 755
changing mode of build/scripts-2.7/dynamodb_load from 644 to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/asadmin to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/bundle_image to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/cfadmin to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/cq to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/cwutil to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/dynamodb_dump to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/dynamodb_load to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/elbadmin to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/fetch_file to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/glacier to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/instance_events to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/kill_instance to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/launch_instance to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/list_instances to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/lss3 to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/mturk to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/pyami_sendmail to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/route53 to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/s3put to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/sdbadmin to 755
changing mode of /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin/taskadmin to 755

Running setup.py install for bunch

Running setup.py install for decorator

warning: no previously-included files found matching 'Makefile'

Running setup.py install for envoy

Running setup.py install for logutils

Running setup.py install for pyyaml
checking if libyaml is compilable
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.6-intel-2.7/check_libyaml.c -o build/temp.macosx-10.6-intel-2.7/check_libyaml.o
build/temp.macosx-10.6-intel-2.7/check_libyaml.c:2:10: fatal error: 'yaml.h' file not found
#include <yaml.h>
^
1 error generated.

libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
 specify the option --include-dirs or uncomment and
 modify the parameter include_dirs in setup.cfg)

Running setup.py install for requests

Running setup.py install for stevedore
[pbr] Reusing existing SOURCES.txt
Running setup.py install for simplejson
building 'simplejson._speedups' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c simplejson/_speedups.c -o build/temp.macosx-10.6-intel-2.7/simplejson/_speedups.o
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7/simplejson/_speedups.o -o build/lib.macosx-10.6-intel-2.7/simplejson/_speedups.so

Running setup.py install for aminator

Installing aminate script to /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin
Installing aminator-plugin script to /Users/dhellmann/Envs/tmp-b0f6521dd9663fda/bin

Running setup.py install for distribute

Successfully installed boto bunch decorator envoy logutils pyyaml requests stevedore simplejson aminator distribute
Cleaning up...
(tmp-b0f6521dd9663fda)hubert:aminator (git:master:96efa7d "2.0.174")$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants