[moin-user] python and python2.7

Volker Wysk post at volker-wysk.de
Thu Oct 25 14:04:24 EDT 2018


Hi!

The moin server scripts server/moin and server/moin.cgi have this in their 
first line:

#!/usr/bin/env python

.. which means they depend on the default python version being 2.7:

/usr/bin/python -> python2
/usr/bin/python2 -> python2.7
/usr/bin/python2.7
/usr/bin/python3 -> python3.6
/usr/bin/python3.6

Wouldn't it be better if they depend directly on 2.7, using:

#!/usr/bin/env python2.7

Just a thought.

Volker





More information about the moin-user mailing list