Skip to content

Commit

Permalink
Get rid of unused dep on elementtree.
Browse files Browse the repository at this point in the history
It was causing some weird problems anyway.
  • Loading branch information
Benjy committed May 9, 2014
1 parent e2088dc commit 68fa6a3
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 11 deletions.
4 changes: 0 additions & 4 deletions 3rdparty/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/python/pants/BUILD.transitional
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
4 changes: 1 addition & 3 deletions src/python/pants/docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/python/pants/docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/python/pants/tasks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 68fa6a3

Please sign in to comment.