[Bug 658604] New: Python distutils setup does not allow user installation of Python packages
https://bugzilla.novell.com/show_bug.cgi?id=658604 https://bugzilla.novell.com/show_bug.cgi?id=658604#c0 Summary: Python distutils setup does not allow user installation of Python packages Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: jmatejek@novell.com ReportedBy: speilicke@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Currently, /usr/lib64/python/distutils/distutils.cfg has the following line: [install] prefix=/usr/local While the intent to not mess up the system-wide site-packages dir, it effectively disables user-installation of Python packages as one needs root-access to install files there. But it is common to supply the parameter '--user' to either easy_install or pip in order to use the local site-packages ($HOME/.local/lib/python...) instead of the system wide. However, this does not work if a prefix is hard-coded. Only easy_install allows to override by providing a custom '--prefix' option. The following request was one approach (revoked): https://build.opensuse.org/request/diff/54916 On the other hand we could also do this (in distutils.cfg): [install] user=1 Which makes user-installation the default. This could actually work because root would always want to install packages instead of /usr/local junk. Users would also prefer packages but rather have sth. in their $HOME than having to bug root for /usr/local. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c
Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c1
Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c2
--- Comment #2 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c3
--- Comment #3 from Sascha Peilicke
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c4
--- Comment #4 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c5
Adam Spiers
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c6
--- Comment #6 from Adam Spiers
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c7
Adam Spiers
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c8
--- Comment #8 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c9
--- Comment #9 from Adam Spiers
I'll post on opensuse-packaging about it and if nobody steps up to defend the greatness and coolness of the current approach, i'll do it.
That would be great, thanks.
(OTOH, interestingly, i never ran into this; i don't really see the value of user install scheme. either you have systemwide packages, or you have virtualenvs. it makes sense on shell accounts where you don't have root,
Also on multi-user systems where you are trying an unstable package and don't want to break everyone else's account, or on NFS home where you want to install once to instantly have it available across a number of machines ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c10
--- Comment #10 from Jan Matejek
https://bugzilla.novell.com/show_bug.cgi?id=658604
https://bugzilla.novell.com/show_bug.cgi?id=658604#c11
Jan Matejek
participants (1)
-
bugzilla_noreply@novell.com