Read first line from file as link path #244

merged 1 commit into from Apr 14, 2012


None yet
2 participants

kylegibson commented Mar 25, 2012

In some cases, (e.g. cherrypy and pyaml) when installed from github, results in a egg-link file that has two paths:


The consequence of such an egg-link is that virtualenv believes that the file is already relative, even if it clearly isn't.

Although asking why the above malformed egg-link occurs is something I am still investigating, I think it should be considered whether using readline is better than read, given that file paths can't contain new lines anyway.

carljm added a commit that referenced this pull request Apr 14, 2012

Merge pull request #244 from kylegibson/patch-1
Read first line from file as link path

@carljm carljm merged commit 9fb48ac into pypa:develop Apr 14, 2012


carljm commented Apr 14, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment