On 3/24/2020 6:58 AM, Frédéric De Jaeger wrote:
One of our constraint is that we use Cygwin's bash and now, every user relies
on the shebang.
The problem reduce to this. Assuming you are in a bash window (whether on
cygwin or ubuntu 18, or mac os) and you do this:
> ./myScript.py
How do you write the shebang so it runs reliably python3 with the minimal
amount of energy spent configuring the system.
Why don't you just install the cygwin version of python3? That will put
python3 in your path, and I think solve your problem. That's the setup I
use.
Cygwin should make it easier to have Windows look like Unix, not harder.
Eric
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/CZ4YPLBK2BZOK2ZQ3YIDSFIIZZVLEVV2/
Code of Conduct: http://python.org/psf/codeofconduct/