Re: make check without Python 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22/02/2018 21:45, Nathan Cutler wrote:
Generalizing, how is SUSE handling all upstream projects that have
"#!/usr/bin/env python"? Are you patching all of those to
#!/usr/bin/python3 ?

Please don't....

Sorry, I think I miswrote my previous response.

"#!/usr/bin/env python" fails when there is no "python" symlink in the system (which is the case in at least Fedora and openSUSE when Python 2 is not present). So what I'm proposing here is to change

#!/usr/bin/env python

to

#!/usr/bin/env python3

Willem, is that a problem for you?

Nope, that's perfect

python3 = /usr/local/bin/python3 and that is normally in the path

--WjW
--
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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux