find-links inconsistencies for path

saintgermain avatarsaintgermain created an issue

It seems that find-links is expected to be a simple path for buildout (like /home/user/sources) but pip -f expect a file prefix like file:/ / / /home/users/sources (sorry but cannot write 3 slashes with bitbucket). I proposed a patch in the patch queue to solve the issue

Comments (4)

  1. saintgermain
    • changed status to open

    Sorry my first patch was a little "dirty" (I was testing if the patch already exist instead of checking if it's a path and I put three slashes instead of 2). My new patch in the patch queue should fixe these issues.

  2. saintgermain

    I've tested today my patch on Python 2.4, and urlparse.urlparse().scheme only exist starting from Python 2.5. So it's better to use urlparse.urlparse()[0] instead of urlparse.urlparse().scheme.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.