Ticketmaster/metrilyx-2.0 — pull request #63 by cheetimloh (2014-12-17 07:56:45+00:00)
Title: Fixed "NameError: global name 'close' is not defined" during setup.

Resolves following error during setup on Ubuntu 14.04.1:

Downloading/unpacking git+https://github.com/Ticketmaster/metrilyx-2.0.git
Cloning https://github.com/Ticketmaster/metrilyx-2.0.git to /tmp/pip-NGVzyR-build
Found command 'git' at '/usr/bin/git'
Running command /usr/bin/git clone -q https://github.com/Ticketmaster/metrilyx-2.0.git /tmp/pip-NGVzyR-build
Running setup.py (path:/tmp/pip-NGVzyR-build/setup.py) egg_info for package from git+https://github.com/Ticketmaster/metrilyx-2.0.git
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-NGVzyR-build/setup.py", line 66, in
version=get_version(),
File "/tmp/pip-NGVzyR-build/setup.py", line 20, in get_version
close(fh)
NameError: global name 'close' is not defined
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 17, in

File "/tmp/pip-NGVzyR-build/setup.py", line 66, in

version=get_version(),

File "/tmp/pip-NGVzyR-build/setup.py", line 20, in get_version

close(fh)

NameError: global name 'close' is not defined