On 12/14/2017 09:24 PM, Hal Murray wrote: > I think it would be better to do the check before installing anything. If we > aren't going to automatically fix it, I think we should print an error > message and bail.
The problem is, this has false positives. If /usr/local/lib/pythonX.Y/site-packages (or dist-packages on Debian) doesn't exist, it won't be in sys.path, but *will be* once it exists. You could try to address this by creating the directory before checking. However, you shouldn't be creating things on the system as part of the configure check. Even if you tried, it won't work for prefix=/usr/local unless someone uses `sudo` for `waf configure`. -- Richard _______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
