diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-10-30 14:45:41 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-11-04 12:40:56 +0000 |
commit | d4123a307a8627a9cd257fdab49e7aac875b53cf (patch) | |
tree | 2c951107b79396558bffc37e45edf8910259cfad | |
parent | ec80d0281d103802f06cd910c3b01d60a65785f2 (diff) | |
download | import-d4123a307a8627a9cd257fdab49e7aac875b53cf.tar.gz |
some random fix
-rwxr-xr-x | import/pip_lorry.py | 7 |
1 files 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'] |