From 68fa6a3f1d9e105ef4fdb0c48e06cc799cb1f211 Mon Sep 17 00:00:00 2001 From: Benjy Date: Fri, 9 May 2014 01:38:56 +0000 Subject: [PATCH] Get rid of unused dep on elementtree. It was causing some weird problems anyway. --- 3rdparty/python/requirements.txt | 4 ---- src/python/pants/BUILD.transitional | 1 - src/python/pants/docs/install.rst | 4 +--- src/python/pants/docs/release.rst | 3 +-- src/python/pants/tasks/BUILD | 1 - 5 files changed, 2 insertions(+), 11 deletions(-) diff --git a/3rdparty/python/requirements.txt b/3rdparty/python/requirements.txt index bcf84f8d031..d2bcf717e57 100644 --- a/3rdparty/python/requirements.txt +++ b/3rdparty/python/requirements.txt @@ -6,10 +6,6 @@ antlr_python_runtime==3.1.3 coverage==3.7.1 -elementtree==1.2.7_20070827_preview ---allow-external elementtree ---allow-unverified elementtree - Markdown==2.1.1 mock==1.0.1 mox==0.5.3 diff --git a/src/python/pants/BUILD.transitional b/src/python/pants/BUILD.transitional index ab6b7474442..9ef05040e4a 100644 --- a/src/python/pants/BUILD.transitional +++ b/src/python/pants/BUILD.transitional @@ -16,7 +16,6 @@ python_library( dependencies=[ pants('3rdparty/python:ansicolors'), pants('3rdparty/python:coverage'), - pants('3rdparty/python:elementtree'), pants('3rdparty/python:Markdown'), pants('3rdparty/python:psutil'), pants('3rdparty/python:Pygments'), diff --git a/src/python/pants/docs/install.rst b/src/python/pants/docs/install.rst index 40633c25912..df7bbce02fe 100644 --- a/src/python/pants/docs/install.rst +++ b/src/python/pants/docs/install.rst @@ -30,9 +30,7 @@ as it does not modify the system Python libraries. :: $ virtualenv /tmp/pants $ source /tmp/pants/bin/activate - $ pip install pants \ - --allow-external elementtree \ - --allow-unverified elementtree + $ pip install pants $ pants To simplify a virtualenv-based installation, consider adding a wrapper script diff --git a/src/python/pants/docs/release.rst b/src/python/pants/docs/release.rst index ef1292927bf..3ee825ef6ee 100644 --- a/src/python/pants/docs/release.rst +++ b/src/python/pants/docs/release.rst @@ -41,8 +41,7 @@ After updating the checked-in version numbers, publish locally and verify the re VENV_DIR=$(mktemp -d -t pants.XXXXX) virtualenv $VENV_DIR source $VENV_DIR/bin/activate - pip install --allow-external elementtree --allow-unverified elementtree \ - --find-links=file://$(pwd)/dist pants==0.0.17 + pip install --find-links=file://$(pwd)/dist pants==0.0.17 pants goal list :: deactivate diff --git a/src/python/pants/tasks/BUILD b/src/python/pants/tasks/BUILD index b9bc53d75c9..9a3abb51ba9 100644 --- a/src/python/pants/tasks/BUILD +++ b/src/python/pants/tasks/BUILD @@ -478,7 +478,6 @@ python_library( name = 'markdown_to_html', sources = ['markdown_to_html.py'], dependencies = [ - pants('3rdparty/python:elementtree'), pants('3rdparty/python:Markdown'), pants('3rdparty/python:Pygments'), pants(':common'),