Issue 11834: wrong module installation dir on Windows (original) (raw)

Created on 2011-04-12 10:47 by techtonik, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue133572.py33.patch louiscipher,2011-04-25 17:19 review
issue133572.py33.patch louiscipher,2011-04-27 17:07 review
Messages (11)
msg133571 - (view) Author: anatoly techtonik (techtonik) Date: 2011-04-12 10:47
http://docs.python.org/install/index.html#how-installation-works Correct standard installation location for third-party modules on Windows for Python 2.x is prefix/Lib/site-packages
msg133572 - (view) Author: anatoly techtonik (techtonik) Date: 2011-04-12 11:12
Other Windows prefixes are probably wrong too.
msg133575 - (view) Author: anatoly techtonik (techtonik) Date: 2011-04-12 12:50
How about 'easy' keyword?
msg133576 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2011-04-12 12:52
It's a doc issue. Doc issues are pretty much by definition easy in the sense of the easy keyword (doable in a day) (unless they are controversial), so we don't bother to attach the easy keyword to them.
msg133577 - (view) Author: anatoly techtonik (techtonik) Date: 2011-04-12 13:00
Target auditory for the `easy` keyword are largely unaware of this fact. It also may keep people off if they run into uneasy doc problem.
msg134397 - (view) Author: Bryce Verdier (louiscipher) Date: 2011-04-25 17:19
Here is a patch for the documentation. I'm not quite sure about the scripts and data part. Tested with Paramiko and a new install of 2.7 to see what would happen and that was the result.
msg134521 - (view) Author: Mark Mc Mahon (markm) * Date: 2011-04-27 00:54
Reviewing the patch (issue133572.py33.patch): You have used forward slashes for the first change - but back slashes for the others. I see that other places in the existing docs use back slashes when referring to windows paths. I have never used the --prefix option - but I am surprised that it would install scripts to prefix\Lib\site-packages (without the prefix option scripts are installed in pythondir\Scripts. Maybe installing something like grin/pylint/etc which has an executable script is a way to verify?
msg134596 - (view) Author: Bryce Verdier (louiscipher) Date: 2011-04-27 17:07
Ok, so after getting some off list help, I changed the defaults to what they should be. Also, Mark was right, "--install-scripts" generally puts things in pythondir\Scripts... as tested with pylint, mako, and some others. I changed data back to Data... though I could no verify it. Even with --install-data, I couldn't seem to find a new Data directory. Maybe I was doing something wrong. Anyway, here is the new patch.
msg135093 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-05-04 03:02
New changeset 175dcc8c4b23 by Brian Curtin in branch '3.1': Fix #11834. Correct site-packages paths. http://hg.python.org/cpython/rev/175dcc8c4b23 New changeset 03d511dec224 by Brian Curtin in branch '3.2': Fix #11834. Correct site-packages paths. http://hg.python.org/cpython/rev/03d511dec224 New changeset 066e63425228 by Brian Curtin in branch 'default': Fix #11834. Correct site-packages paths. http://hg.python.org/cpython/rev/066e63425228 New changeset 1a2f0f545f55 by Brian Curtin in branch '2.7': Fix #11834. Correct site-packages paths. http://hg.python.org/cpython/rev/1a2f0f545f55
msg135094 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2011-05-04 03:03
Thanks for the patches and reviews!
msg135115 - (view) Author: anatoly techtonik (techtonik) Date: 2011-05-04 11:12
It's always a pleasure. ;)
History
Date User Action Args
2022-04-11 14:57:16 admin set github: 56043
2011-05-04 12:42:31 brian.curtin set status: open -> closed
2011-05-04 11:12:54 techtonik set messages: +
2011-05-04 03:03:56 brian.curtin set resolution: fixedmessages: + assignee: brian.curtintype: behaviorstage: needs patch -> resolved
2011-05-04 03:02:18 python-dev set nosy: + python-devmessages: +
2011-05-02 17:14:01 r.david.murray set assignee: docs@python -> (no value)nosy: + tim.golden, brian.curtin
2011-04-27 17:07:57 louiscipher set files: + issue133572.py33.patchnosy: - brian.curtin, markmmessages: +
2011-04-27 00:54:14 markm set nosy: + markmmessages: +
2011-04-26 20:53:12 brian.curtin set nosy: + brian.curtin
2011-04-25 17:19:45 louiscipher set files: + issue133572.py33.patchnosy: + louisciphermessages: + keywords: + patch
2011-04-15 17:02:22 eric.araujo set nosy: + eric.araujo, alexiscomponents: + Distutils, Distutils2versions: + Python 3.1, Python 3.2, Python 3.3
2011-04-12 13:08:16 brian.curtin set nosy: - brian.curtin
2011-04-12 13:00:27 techtonik set messages: +
2011-04-12 12:52:47 r.david.murray set nosy: + r.david.murraymessages: +
2011-04-12 12:51:20 ezio.melotti set keywords: + easy
2011-04-12 12:50:51 techtonik set messages: +
2011-04-12 12:32:04 brian.curtin set stage: needs patch
2011-04-12 11:12:04 techtonik set messages: +
2011-04-12 10:48:27 ezio.melotti set nosy: + brian.curtin
2011-04-12 10:47:35 techtonik create