mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Update mako in the style system.
This uses Mako-1.1.2 wheel format, rather than zip, and works with py3 and py2. It'd be great to make mako more like other third party python dependencies but this allows me to build central again. This is downloaded from: https://files.pythonhosted.org/packages/50/78/f6ade1e18aebda570eed33b7c534378d9659351cadce2fcbc7b31be5f615/Mako-1.1.2-py2.py3-none-any.whl Via pip-download. Differential Revision: https://phabricator.services.mozilla.com/D70517
This commit is contained in:
parent
07c1b39637
commit
3aa38ff4c5
3 changed files with 1 additions and 1 deletions
Binary file not shown.
BIN
components/style/properties/Mako-1.1.2-py2.py3-none-any.whl
Normal file
BIN
components/style/properties/Mako-1.1.2-py2.py3-none-any.whl
Normal file
Binary file not shown.
|
@ -8,7 +8,7 @@ import re
|
|||
import sys
|
||||
|
||||
BASE = os.path.dirname(__file__.replace('\\', '/'))
|
||||
sys.path.insert(0, os.path.join(BASE, "Mako-0.9.1.zip"))
|
||||
sys.path.insert(0, os.path.join(BASE, "Mako-1.1.2-py2.py3-none-any.whl"))
|
||||
sys.path.insert(0, BASE) # For importing `data.py`
|
||||
|
||||
from mako import exceptions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue