def score_url(self, url):
t = urlparse(url)<EOL>return (t.scheme != '<STR_LIT>', '<STR_LIT>' in t.netloc,<EOL>posixpath.basename(t.path))<EOL>
Give an url a score which can be used to choose preferred URLs
for a given project release.