On 20-02-2018 10:39, Nathan Cutler wrote:
If we are replacing "python" for "python3" in bash scripts, and say
that python2 is optional, how do we run "make check" in a python2
environment?
Let's distinguish between a python2 environment and a python2-only
environment.
With this proposed change, it would no longer be possible to run make
check in a *python2-only* environment.
A more complicated solution would be to write python2 and python3
versions of all scripts with shebangs, and do cmake magic to run one,
the other, or both. That would require us to maintain two nearly
identical versions of each script.
Another way would be to stop relying on the shebangs to execute the
scripts, since they are not flexible.
This last alternative seems better. What would be needed to implement
this last alternative, besides removing all the shebang lines from the
scripts?
Nathan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Ricardo Dias
Senior Software Engineer - Storage Team
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284
(AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html