Issue 14357: Distutils2 does not work with virtualenv (original ) (raw )Created on 2012-03-18 06:26 by alex.gronholm , last changed 2022-04-11 14:57 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
d2log.txt
alex.gronholm,2012-03-18 18:41
Messages (9)
msg156231 - (view)
Author: Alex Grönholm (alex.gronholm) *
Date: 2012-03-18 06:26
The installed pysetup script launches (at least on my system) with /usr/bin/python regardless of the interpreter used for installing it.
msg156258 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2012-03-18 15:54
The shebang uses /usr/bin/env python; when installing with a virtualenv’s pip, distutils rewrites it to use the venv’s Python. Could you give me the exact steps to reproduce?
msg156264 - (view)
Author: Alex Grönholm (alex.gronholm) *
Date: 2012-03-18 18:41
Log attached.
msg156281 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2012-03-18 22:25
I can’t reproduce. Can you delete your venv, start again and tell me how it goes?
msg156317 - (view)
Author: Alex Grönholm (alex.gronholm) *
Date: 2012-03-19 05:30
>I can’t reproduce. Can you delete your venv, start again and tell me how it goes? I've repeated this several times, and the result is always the same.
msg156541 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2012-03-22 05:16
Can you give more info about your OS, ~/.pydistutils.cfg, etc.?
msg156545 - (view)
Author: Alex Grönholm (alex.gronholm) *
Date: 2012-03-22 10:02
Kubuntu 11.10, 64-bit. No ~/.pydistutils.cfg. What other info do you need?
msg156963 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2012-03-28 02:27
Just logged into your machine to try to reproduce, could not (check the ~merwok/.bash_history file).
msg156967 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2012-03-28 04:24
Alex and I found the real issue: it’s about caching of scripts in the build directory. d2 works in a virtualenv, closing :)
History
Date
User
Action
Args
2022-04-11 14:57:28
admin
set
github: 58565
2012-03-28 04:24:16
eric.araujo
set
status: open -> closedsuperseder: distutils[2] should recreate scripts in the build tree messages: + resolution: duplicatestage: resolved
2012-03-28 02:27:45
eric.araujo
set
messages: +
2012-03-22 10:02:35
alex.gronholm
set
messages: +
2012-03-22 05:16:42
eric.araujo
set
messages: +
2012-03-19 05:30:06
alex.gronholm
set
messages: +
2012-03-18 22:25:59
eric.araujo
set
messages: +
2012-03-18 18:41:34
alex.gronholm
set
files: + d2log.txt messages: +
2012-03-18 15:54:21
eric.araujo
set
messages: +
2012-03-18 06:27:01
alex.gronholm
set
type: behavior
2012-03-18 06:26:51
alex.gronholm
create