Update commons to use released pants.

Review Request #95 — Created March 12, 2014 and submitted

travis
commons
pants-reviews
lahosken, wickman
Update commons to use a released pants.

The "pants" script has been updated from a pex-fetcher to a virtualenv that pip installs pants. Talking with Brian he recommends this approach for general-purpose pants usage because it works for all platforms, not just what we've happened to build the pex for. Sites such as Twitter/Foursquare are not affected by this change as they can simply continue to build+release pants.pex for internal use.

After all the kinks are worked out of this I'll update http://pantsbuild.github.io/install.html
****************
CLEAN OUT CACHES
****************

[tw-mbp13-travis commons]$ git clean -fdx

*********************************************
RUN RBT - FETCHES VIRTUALENV AND INSTALLS RBT
*********************************************

[tw-mbp13-travis commons]$ ./rbt
Bootstrapping rbt with requirements RBTools==0.5.5
+ VIRTUALENV_VERSION=1.11.4
+ which python2.7
++ which python2.7
+ PY=/Users/travis/Python/CPython-2.7.3/bin/python2.7
+ echo 'Using /Users/travis/Python/CPython-2.7.3/bin/python2.7'
Using /Users/travis/Python/CPython-2.7.3/bin/python2.7
+++ dirname /Users/travis/src/commons/build-support/python/../virtualenv
++ cd /Users/travis/src/commons/build-support/python/..
++ pwd
+ HERE=/Users/travis/src/commons/build-support
+ '[' -f /Users/travis/src/commons/build-support/virtualenv-1.11.4/BOOTSTRAPPED ']'
+ pushd /Users/travis/src/commons/build-support
~/src/commons/build-support ~/src/commons
+ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.4.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1716k  100 1716k    0     0  2737k      0 --:--:-- --:--:-- --:--:-- 2733k
+ tar zxvf virtualenv-1.11.4.tar.gz
x virtualenv-1.11.4/
x virtualenv-1.11.4/AUTHORS.txt
x virtualenv-1.11.4/bin/
x virtualenv-1.11.4/bin/rebuild-script.py
x virtualenv-1.11.4/docs/
x virtualenv-1.11.4/docs/conf.py
x virtualenv-1.11.4/docs/index.rst
x virtualenv-1.11.4/docs/make.bat
x virtualenv-1.11.4/docs/Makefile
x virtualenv-1.11.4/docs/news.rst
x virtualenv-1.11.4/docs/virtualenv.rst
x virtualenv-1.11.4/LICENSE.txt
x virtualenv-1.11.4/MANIFEST.in
x virtualenv-1.11.4/PKG-INFO
x virtualenv-1.11.4/README.rst
x virtualenv-1.11.4/scripts/
x virtualenv-1.11.4/scripts/virtualenv
x virtualenv-1.11.4/setup.cfg
x virtualenv-1.11.4/setup.py
x virtualenv-1.11.4/virtualenv.egg-info/
x virtualenv-1.11.4/virtualenv.egg-info/dependency_links.txt
x virtualenv-1.11.4/virtualenv.egg-info/entry_points.txt
x virtualenv-1.11.4/virtualenv.egg-info/not-zip-safe
x virtualenv-1.11.4/virtualenv.egg-info/PKG-INFO
x virtualenv-1.11.4/virtualenv.egg-info/SOURCES.txt
x virtualenv-1.11.4/virtualenv.egg-info/top_level.txt
x virtualenv-1.11.4/virtualenv.py
x virtualenv-1.11.4/virtualenv_embedded/
x virtualenv-1.11.4/virtualenv_embedded/activate.bat
x virtualenv-1.11.4/virtualenv_embedded/activate.csh
x virtualenv-1.11.4/virtualenv_embedded/activate.fish
x virtualenv-1.11.4/virtualenv_embedded/activate.ps1
x virtualenv-1.11.4/virtualenv_embedded/activate.sh
x virtualenv-1.11.4/virtualenv_embedded/activate_this.py
x virtualenv-1.11.4/virtualenv_embedded/deactivate.bat
x virtualenv-1.11.4/virtualenv_embedded/distutils-init.py
x virtualenv-1.11.4/virtualenv_embedded/distutils.cfg
x virtualenv-1.11.4/virtualenv_embedded/site.py
x virtualenv-1.11.4/virtualenv_support/
x virtualenv-1.11.4/virtualenv_support/__init__.py
x virtualenv-1.11.4/virtualenv_support/pip-1.5.4-py2.py3-none-any.whl
x virtualenv-1.11.4/virtualenv_support/setuptools-2.2-py2.py3-none-any.whl
+ touch virtualenv-1.11.4/BOOTSTRAPPED
+ popd
~/src/commons
+ exec /Users/travis/Python/CPython-2.7.3/bin/python2.7 /Users/travis/src/commons/build-support/virtualenv-1.11.4/virtualenv.py /Users/travis/src/commons/build-support/python/../rbt.venv
New python executable in /Users/travis/src/commons/build-support/python/../rbt.venv/bin/python2.7
Also creating executable in /Users/travis/src/commons/build-support/python/../rbt.venv/bin/python
Installing setuptools, pip...done.
Downloading/unpacking RBTools==0.5.5
  RBTools is potentially insecure and unverifiable.
  Downloading RBTools-0.5.5.tar.gz (103kB): 103kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/rbt.venv/build/RBTools/setup.py) egg_info for package RBTools
    
Installing collected packages: RBTools
  Running setup.py install for RBTools
    
    Installing post-review script to /Users/travis/src/commons/build-support/rbt.venv/bin
    Installing rbt script to /Users/travis/src/commons/build-support/rbt.venv/bin
Successfully installed RBTools
Cleaning up...
Usage: rbt [--version] <command> [options] [<args>]

Options:
  -h, --help  
  --version   show program's version number and exit

The most commonly used commands are:
  post
  patch
  close
  diff

Other commands:
  api-get
  attach
  list-repo-types
  publish
  setup-repo
  status
See 'rbt help <command>' for more information on a specific command.

****************************************
RUN RBT AGAIN - RUNS WITHOUT ANY INSTALL
****************************************

[tw-mbp13-travis commons]$ ./rbt
Usage: rbt [--version] <command> [options] [<args>]

Options:
  -h, --help  
  --version   show program's version number and exit

The most commonly used commands are:
  post
  patch
  close
  diff

Other commands:
  api-get
  attach
  list-repo-types
  publish
  setup-repo
  status
See 'rbt help <command>' for more information on a specific command.


*******************************************************************
RUN PANTS - INSTALLS ITSELF. NOTE SETUPTOOLS ISSUE WILL BE RESOLVED
WITH THIS CHANGE AND WILL GO AWAY AFTER REPUBLISHING
*******************************************************************

[tw-mbp13-travis commons]$ ./pants
Bootstrapping pants with requirements twitter.pants==0.0.15
+ VIRTUALENV_VERSION=1.11.4
+ which python2.7
++ which python2.7
+ PY=/Users/travis/Python/CPython-2.7.3/bin/python2.7
+ echo 'Using /Users/travis/Python/CPython-2.7.3/bin/python2.7'
Using /Users/travis/Python/CPython-2.7.3/bin/python2.7
+++ dirname /Users/travis/src/commons/build-support/python/../virtualenv
++ cd /Users/travis/src/commons/build-support/python/..
++ pwd
+ HERE=/Users/travis/src/commons/build-support
+ '[' -f /Users/travis/src/commons/build-support/virtualenv-1.11.4/BOOTSTRAPPED ']'
+ exec /Users/travis/Python/CPython-2.7.3/bin/python2.7 /Users/travis/src/commons/build-support/virtualenv-1.11.4/virtualenv.py /Users/travis/src/commons/build-support/python/../pants.venv
New python executable in /Users/travis/src/commons/build-support/python/../pants.venv/bin/python2.7
Also creating executable in /Users/travis/src/commons/build-support/python/../pants.venv/bin/python
Installing setuptools, pip...done.
Downloading/unpacking twitter.pants==0.0.15
  Downloading twitter.pants-0.0.15.tar.gz (516kB): 516kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.pants/setup.py) egg_info for package twitter.pants
    
Downloading/unpacking twitter.common.quantity==0.1.1 (from twitter.pants==0.0.15)
  Downloading twitter.common.quantity-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.quantity/setup.py) egg_info for package twitter.common.quantity
    
Downloading/unpacking coverage==3.6b1 (from twitter.pants==0.0.15)
  Downloading coverage-3.6b1.tar.gz (224kB): 224kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/coverage/setup.py) egg_info for package coverage
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking twitter.common.config==0.1.1 (from twitter.pants==0.0.15)
  Downloading twitter.common.config-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.config/setup.py) egg_info for package twitter.common.config
    
Downloading/unpacking twitter.common.util==0.1.1 (from twitter.pants==0.0.15)
  Downloading twitter.common.util-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.util/setup.py) egg_info for package twitter.common.util
    
Downloading/unpacking twitter.common.process==0.1.1 (from twitter.pants==0.0.15)
  Downloading twitter.common.process-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.process/setup.py) egg_info for package twitter.common.process
    
Downloading/unpacking python-daemon==1.5.5 (from twitter.pants==0.0.15)
  Downloading python-daemon-1.5.5.tar.gz (41kB): 41kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/python-daemon/setup.py) egg_info for package python-daemon
    
    warning: no files found matching 'TODO'
Downloading/unpacking twitter.common.python==0.4.1 (from twitter.pants==0.0.15)
  Downloading twitter.common.python-0.4.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.python/setup.py) egg_info for package twitter.common.python
    
Downloading/unpacking twitter.common.decorators==0.1.1 (from twitter.pants==0.0.15)
  Downloading twitter.common.decorators-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.decorators/setup.py) egg_info for package twitter.common.decorators
    
Downloading/unpacking Markdown==2.1.1 (from twitter.pants==0.0.15)
  Downloading Markdown-2.1.1.tar.gz (242kB): 242kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/Markdown/setup.py) egg_info for package Markdown
    
Downloading/unpacking twitter.common.confluence==0.1.1 (from twitter.pants==0.0.15)
  Downloading twitter.common.confluence-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.confluence/setup.py) egg_info for package twitter.common.confluence
    
Downloading/unpacking psutil==1.1.2 (from twitter.pants==0.0.15)
  Downloading psutil-1.1.2.tar.gz (165kB): 165kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/psutil/setup.py) egg_info for package psutil
    
Downloading/unpacking pytest==2.5.2 (from twitter.pants==0.0.15)
  Downloading pytest-2.5.2.tar.gz (608kB): 608kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/pytest/setup.py) egg_info for package pytest
    
Downloading/unpacking requests==2.0.0 (from twitter.pants==0.0.15)
  Downloading requests-2.0.0-py2.py3-none-any.whl (391kB): 391kB downloaded
Downloading/unpacking elementtree==1.2.7-20070827-preview (from twitter.pants==0.0.15)
  elementtree is potentially insecure and unverifiable.
  Downloading elementtree-1.2.7-20070827-preview.zip (64kB): 64kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/elementtree/setup.py) egg_info for package elementtree
    
Downloading/unpacking pystache==0.5.3 (from twitter.pants==0.0.15)
  Downloading pystache-0.5.3.tar.gz (74kB): 74kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/pystache/setup.py) egg_info for package pystache
    pystache: using: version '2.2' of <module 'setuptools' from '/Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/setuptools/__init__.pyc'>
    
Downloading/unpacking Pygments==1.4 (from twitter.pants==0.0.15)
  Downloading Pygments-1.4.tar.gz (3.5MB): 3.5MB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/Pygments/setup.py) egg_info for package Pygments
    
Downloading/unpacking ansicolors==1.0.2 (from twitter.pants==0.0.15)
  Downloading ansicolors-1.0.2.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/ansicolors/setup.py) egg_info for package ansicolors
    
Downloading/unpacking pytest-cov==1.6 (from twitter.pants==0.0.15)
  Downloading pytest-cov-1.6.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/pytest-cov/setup.py) egg_info for package pytest-cov
    
Downloading/unpacking twitter.common.lang==0.1.1 (from twitter.common.quantity==0.1.1->twitter.pants==0.0.15)
  Downloading twitter.common.lang-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.lang/setup.py) egg_info for package twitter.common.lang
    
Downloading/unpacking twitter.common.collections==0.1.1 (from twitter.common.config==0.1.1->twitter.pants==0.0.15)
  Downloading twitter.common.collections-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.collections/setup.py) egg_info for package twitter.common.collections
    
Downloading/unpacking twitter.common.contextutil==0.1.1 (from twitter.common.util==0.1.1->twitter.pants==0.0.15)
  Downloading twitter.common.contextutil-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.contextutil/setup.py) egg_info for package twitter.common.contextutil
    
Downloading/unpacking twitter.common.string==0.1.1 (from twitter.common.process==0.1.1->twitter.pants==0.0.15)
  Downloading twitter.common.string-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.string/setup.py) egg_info for package twitter.common.string
    
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./build-support/pants.venv/lib/python2.7/site-packages (from python-daemon==1.5.5->twitter.pants==0.0.15)
Downloading/unpacking lockfile>=0.7 (from python-daemon==1.5.5->twitter.pants==0.0.15)
  Downloading lockfile-0.9.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/lockfile/setup.py) egg_info for package lockfile
    
Downloading/unpacking twitter.common.log==0.1.1 (from twitter.common.confluence==0.1.1->twitter.pants==0.0.15)
  Downloading twitter.common.log-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.log/setup.py) egg_info for package twitter.common.log
    
Downloading/unpacking py>=1.4.20 (from pytest==2.5.2->twitter.pants==0.0.15)
  Downloading py-1.4.20.tar.gz (185kB): 185kB downloaded
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/py/setup.py) egg_info for package py
    
Downloading/unpacking cov-core>=1.6 (from pytest-cov==1.6->twitter.pants==0.0.15)
  Downloading cov-core-1.7.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/cov-core/setup.py) egg_info for package cov-core
    
Downloading/unpacking twitter.common.dirutil==0.1.1 (from twitter.common.contextutil==0.1.1->twitter.common.util==0.1.1->twitter.pants==0.0.15)
  Downloading twitter.common.dirutil-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.dirutil/setup.py) egg_info for package twitter.common.dirutil
    
Downloading/unpacking twitter.common.options==0.1.1 (from twitter.common.log==0.1.1->twitter.common.confluence==0.1.1->twitter.pants==0.0.15)
  Downloading twitter.common.options-0.1.1.tar.gz
  Running setup.py (path:/Users/travis/src/commons/build-support/pants.venv/build/twitter.common.options/setup.py) egg_info for package twitter.common.options
    
Installing collected packages: twitter.pants, twitter.common.quantity, coverage, twitter.common.config, twitter.common.util, twitter.common.process, python-daemon, twitter.common.python, twitter.common.decorators, Markdown, twitter.common.confluence, psutil, pytest, requests, elementtree, pystache, Pygments, ansicolors, pytest-cov, twitter.common.lang, twitter.common.collections, twitter.common.contextutil, twitter.common.string, lockfile, twitter.common.log, py, cov-core, twitter.common.dirutil, twitter.common.options
  Running setup.py install for twitter.pants
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/pants/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.pants-0.0.15-py2.7-nspkg.pth
    Installing pants script to /Users/travis/src/commons/build-support/pants.venv/bin
  Running setup.py install for twitter.common.quantity
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.quantity-0.1.1-py2.7-nspkg.pth
  Running setup.py install for coverage
    building 'coverage.tracer' extension
    /usr/bin/gcc-4.2 -fno-strict-aliasing -I/tmp/python.ckOO1W/readline/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/travis/Python/CPython-2.7.3/include/python2.7 -c coverage/tracer.c -o build/temp.macosx-10.4-x86_64-2.7/coverage/tracer.o
    /usr/bin/gcc-4.2 -bundle -undefined dynamic_lookup -L/tmp/python.ckOO1W/readline/lib build/temp.macosx-10.4-x86_64-2.7/coverage/tracer.o -o build/lib.macosx-10.4-x86_64-2.7/coverage/tracer.so
    ld: warning: directory not found for option '-L/tmp/python.ckOO1W/readline/lib'
    
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    Installing coverage2 script to /Users/travis/src/commons/build-support/pants.venv/bin
    Installing coverage-2.7 script to /Users/travis/src/commons/build-support/pants.venv/bin
    Installing coverage script to /Users/travis/src/commons/build-support/pants.venv/bin
  Running setup.py install for twitter.common.config
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.config-0.1.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.util
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.util-0.1.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.process
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.process-0.1.1-py2.7-nspkg.pth
  Running setup.py install for python-daemon
    
    warning: no files found matching 'TODO'
  Running setup.py install for twitter.common.python
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.python-0.4.1-py2.7-nspkg.pth
    Installing pex script to /Users/travis/src/commons/build-support/pants.venv/bin
  Running setup.py install for twitter.common.decorators
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.decorators-0.1.1-py2.7-nspkg.pth
  Running setup.py install for Markdown
    changing mode of build/scripts-2.7/markdown_py from 644 to 755
    Converting docs/command_line.md -> build/docs/command_line.html
    Converting docs/index.md -> build/docs/index.html
    Converting docs/install.md -> build/docs/install.html
    Converting docs/release-2.0.1.md -> build/docs/release-2.0.1.html
    Converting docs/release-2.0.2.md -> build/docs/release-2.0.2.html
    Converting docs/release-2.0.md -> build/docs/release-2.0.html
    Converting docs/release-2.1.0.md -> build/docs/release-2.1.0.html
    Converting docs/release-2.1.1.md -> build/docs/release-2.1.1.html
    Converting docs/test_suite.md -> build/docs/test_suite.html
    Converting docs/using_as_module.md -> build/docs/using_as_module.html
    Converting docs/writing_extensions.md -> build/docs/writing_extensions.html
    Converting docs/extensions/abbreviations.md -> build/docs/extensions/abbreviations.html
    Converting docs/extensions/attr_list.md -> build/docs/extensions/attr_list.html
    Converting docs/extensions/code_hilite.md -> build/docs/extensions/code_hilite.html
    Converting docs/extensions/definition_lists.md -> build/docs/extensions/definition_lists.html
    Converting docs/extensions/extra.md -> build/docs/extensions/extra.html
    Converting docs/extensions/fenced_code_blocks.md -> build/docs/extensions/fenced_code_blocks.html
    Converting docs/extensions/footnotes.md -> build/docs/extensions/footnotes.html
    Converting docs/extensions/header_id.md -> build/docs/extensions/header_id.html
    Converting docs/extensions/html_tidy.md -> build/docs/extensions/html_tidy.html
    Converting docs/extensions/index.md -> build/docs/extensions/index.html
    Converting docs/extensions/meta_data.md -> build/docs/extensions/meta_data.html
    Converting docs/extensions/nl2br.md -> build/docs/extensions/nl2br.html
    Converting docs/extensions/rss.md -> build/docs/extensions/rss.html
    Converting docs/extensions/smart_strong.md -> build/docs/extensions/smart_strong.html
    Converting docs/extensions/tables.md -> build/docs/extensions/tables.html
    Converting docs/extensions/toc.md -> build/docs/extensions/toc.html
    Converting docs/extensions/wikilinks.md -> build/docs/extensions/wikilinks.html
    
    changing mode of /Users/travis/src/commons/build-support/pants.venv/bin/markdown_py to 755
  Running setup.py install for twitter.common.confluence
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.confluence-0.1.1-py2.7-nspkg.pth
  Running setup.py install for psutil
    building '_psutil_osx' extension
    /usr/bin/gcc-4.2 -fno-strict-aliasing -I/tmp/python.ckOO1W/readline/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/travis/Python/CPython-2.7.3/include/python2.7 -c psutil/_psutil_osx.c -o build/temp.macosx-10.4-x86_64-2.7/psutil/_psutil_osx.o
    /usr/bin/gcc-4.2 -fno-strict-aliasing -I/tmp/python.ckOO1W/readline/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/travis/Python/CPython-2.7.3/include/python2.7 -c psutil/_psutil_common.c -o build/temp.macosx-10.4-x86_64-2.7/psutil/_psutil_common.o
    /usr/bin/gcc-4.2 -fno-strict-aliasing -I/tmp/python.ckOO1W/readline/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/travis/Python/CPython-2.7.3/include/python2.7 -c psutil/arch/osx/process_info.c -o build/temp.macosx-10.4-x86_64-2.7/psutil/arch/osx/process_info.o
    /usr/bin/gcc-4.2 -bundle -undefined dynamic_lookup -L/tmp/python.ckOO1W/readline/lib build/temp.macosx-10.4-x86_64-2.7/psutil/_psutil_osx.o build/temp.macosx-10.4-x86_64-2.7/psutil/_psutil_common.o build/temp.macosx-10.4-x86_64-2.7/psutil/arch/osx/process_info.o -o build/lib.macosx-10.4-x86_64-2.7/_psutil_osx.so -framework CoreFoundation -framework IOKit
    ld: warning: directory not found for option '-L/tmp/python.ckOO1W/readline/lib'
    building '_psutil_posix' extension
    /usr/bin/gcc-4.2 -fno-strict-aliasing -I/tmp/python.ckOO1W/readline/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/travis/Python/CPython-2.7.3/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.macosx-10.4-x86_64-2.7/psutil/_psutil_posix.o
    /usr/bin/gcc-4.2 -bundle -undefined dynamic_lookup -L/tmp/python.ckOO1W/readline/lib build/temp.macosx-10.4-x86_64-2.7/psutil/_psutil_posix.o -o build/lib.macosx-10.4-x86_64-2.7/_psutil_posix.so
    ld: warning: directory not found for option '-L/tmp/python.ckOO1W/readline/lib'
    
  Running setup.py install for pytest
    
    Installing py.test script to /Users/travis/src/commons/build-support/pants.venv/bin
    Installing py.test-2.7 script to /Users/travis/src/commons/build-support/pants.venv/bin
  Running setup.py install for elementtree
    
  Running setup.py install for pystache
    pystache: using: version '2.2' of <module 'setuptools' from '/Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/setuptools/__init__.pyc'>
    
    Installing pystache script to /Users/travis/src/commons/build-support/pants.venv/bin
    Installing pystache-test script to /Users/travis/src/commons/build-support/pants.venv/bin
  Running setup.py install for Pygments
    
    Installing pygmentize script to /Users/travis/src/commons/build-support/pants.venv/bin
  Running setup.py install for ansicolors
    
  Running setup.py install for pytest-cov
    
  Running setup.py install for twitter.common.lang
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.lang-0.1.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.collections
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.collections-0.1.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.contextutil
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.contextutil-0.1.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.string
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.string-0.1.1-py2.7-nspkg.pth
  Running setup.py install for lockfile
    
  Running setup.py install for twitter.common.log
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.log-0.1.1-py2.7-nspkg.pth
  Running setup.py install for py
    
  Running setup.py install for cov-core
    
    
    Wrote pth file for subprocess measurement to /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/init_cov_core.pth
  Running setup.py install for twitter.common.dirutil
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.dirutil-0.1.1-py2.7-nspkg.pth
  Running setup.py install for twitter.common.options
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/__init__.py (namespace package)
    Skipping installation of /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter/common/__init__.py (namespace package)
    
    Installing /Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/twitter.common.options-0.1.1-py2.7-nspkg.pth
Successfully installed twitter.pants twitter.common.quantity coverage twitter.common.config twitter.common.util twitter.common.process python-daemon twitter.common.python twitter.common.decorators Markdown twitter.common.confluence psutil pytest requests elementtree pystache Pygments ansicolors pytest-cov twitter.common.lang twitter.common.collections twitter.common.contextutil twitter.common.string lockfile twitter.common.log py cov-core twitter.common.dirutil twitter.common.options
Cleaning up...
Traceback (most recent call last):
  File "/Users/travis/src/commons/build-support/pants.venv/bin/pants", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/pkg_resources.py", line 2720, in <module>
    parse_requirements(__requires__), Environment()
  File "/Users/travis/src/commons/build-support/pants.venv/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: setuptools==2.1.2
[tw-mbp13-travis commons]$ 
TR
TR
WI
  1. should the ./pants script have a PANTS_DEV section that runs it from source?  in theory you would be able to do:
    
    with virtualenv...
    if PANTS_DEV
      exec python src/python/twitter/pants/bin/pants_exe.py $*
    else
      exec pants $*
    
    and have it work, since all those deps will be ~= correct in the virtualenv
    1. Re: running from source, we're moving the pants code to pantsbuild. If we add this now its just a temporary convenience until the pants code migrates to pantsbuild. Mind if we leave this out to plan for the future?
    2. oh, i see...this is more meant for the *commons* and less for pants itself.
  2. 
      
WI
  1. Ship It!
  2. 
      
TR
Review request changed

Status: Closed (submitted)

Loading...