[Scons-users] Windows batch file location in 2.5.1

Thomas Berg merlin66b at gmail.com
Tue Apr 4 15:45:26 EDT 2017


Hi,

I'm a scons user too, and while I have not noticed problems with such
installations, I have noticed that it makes a difference whether you use
'python setup.py install' in a source distribution, or use the executable
scons installer. The installer still places scons batch files under Scripts
and the actual scons library under Lib/site-packages, while setup.py
installs it like you describe. I asked about it once on this mailing list,
but this particular issue was not answered.

It caused issues for me, because in my case I had parallel installations of
different scons versions. Normally this works without issues, as versioned
.bat files would be installed, and the unversioned one was always the
latest one. But when the unversioned one suddenly went to a different
location, it is whichever version that is first in PATH that gets run (in
my case the older one).

There is now a working 64 bit installer for windows on the sourceforge
page, so one can always use the installer to install scons. That's what I
use to make sure scons is always installed under Scripts.

Cheers,
Thomas




On Tue, Apr 4, 2017 at 8:42 PM, Rob Boehne <robb at datalogics.com> wrote:

> Scons users,
>
> I recently upgraded from a paleolithic version of scons for a
> cross-platform build system to scons 2.5.1.
> We use a virtual environment to allow us to have multiple versions of our
> build system, and everything is perfectly peachy except for Windows.
> In the old version 0.97, scons installs scripts (batch files) under the
> virtual environment’s “Scripts” directory on Windows.
> Scons 2.5.1 puts them in the root directory, and they fail because they
> don’t seem to set up the python paths correctly.  If I move those batch
> files from the top level down to “Scripts” they do find the paths correctly.
>
> Because the paths don’t seem to be correct, I’m thinking these batch files
> are getting installed in the wrong location.  Has anyone else noticed this?
>
> Thanks,
>
> Rob Boehne
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170404/92e94279/attachment.html>


More information about the Scons-users mailing list