Force python2 usage instead of python
Background / User story
Every modern Linux distribution ships with python 3, so that the default python
would likely refer to /usr/bin/python3
or similar.
Even if close to its end, we have various build tools based on the assumption that python
means python2
, so I'd like to make it explicit so that we are sure, even after OS updates, our build tools will keep working with the deprecated version of python.
What to change
- Design: N/A
- Research: N/A
- Spec: N/A
-
Development: Update anything that uses
python
in ourpacage.json
aspython2
Hints for testers
assuming you have adblockplusui
folder in the same folder where adblockpluschrome
is, you should be able to build an extension by typing from adblockplusui
folder the following command: npm run dev-build
The process should eventually exit without errors (some warning might happen, nothing relevant though).
Hints for translators
N/A
Integration notes
N/A
Edited by Thomas Greiner