From d4123a307a8627a9cd257fdab49e7aac875b53cf Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Thu, 30 Oct 2014 14:45:41 +0000 Subject: some random fix --- import/pip_lorry.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/import/pip_lorry.py b/import/pip_lorry.py index 92635b5..8f7e3ab 100755 --- a/import/pip_lorry.py +++ b/import/pip_lorry.py @@ -27,7 +27,10 @@ import shutil import tempfile import xmlrpclib -import parser.requirements # todo add this as a submodule +#import parser.requirements # todo add this as a submodule +# i don't know what i was going on about here + +import requirements PYPI_URL = 'http://pypi.python.org/pypi' @@ -201,7 +204,7 @@ if __name__ == '__main__': sys.exit(1) # TODO: We could take multiple reqs easily enough - req = parser.requirements.parse(sys.argv[1]).next() + req = requirements.parse(sys.argv[1]).next() metadata = fetch_package_metadata(req.name) info = metadata['info'] -- cgit v1.2.1