[issue10374] setup.py caches outdated scripts in the build tree

2010-11-17 Thread Éric Araujo
Éric Araujo added the comment: For this particular bug, we could add a check for the shebang line in distutils1’ build_scripts, so that a second run can detect it should rebuild the scripts even though the source has not changed. Or is there a rule that says build_* command only look at time

[issue10374] setup.py caches outdated scripts in the build tree

2010-11-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: As described in distutils-SIG, we need to work on a clever way to update the build tree. For Distutils1, removing it completely (possibly via the clean command) is what people can do. -- components: +Distutils2 -Distutils type: behavior -> feature reque

[issue10374] setup.py caches outdated scripts in the build tree

2010-11-09 Thread Geoffrey Bache
New submission from Geoffrey Bache : I have the following setup.py script: #!/usr/bin/env python from distutils.core import setup scripts=["hello.py"] setup(scripts=scripts) I have two different python installations (using virtualenv) where I wish to install this program. So I do ~/tmp/test_