aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDelan Azabani <dazabani@igalia.com>2024-02-27 23:39:06 +0800
committerGitHub <noreply@github.com>2024-02-27 15:39:06 +0000
commitfaf754dfa655f0b9a28f62bc47a78fbf78ebcaf4 (patch)
tree4725e1446680d036797b1fc258733ae6b2c9f354 /python
parentb07505417e629bbb081be9683630f2d7a5f50544 (diff)
downloadservo-faf754dfa655f0b9a28f62bc47a78fbf78ebcaf4.tar.gz
servo-faf754dfa655f0b9a28f62bc47a78fbf78ebcaf4.zip
Move Stylo to its own repo (#31350)
* Remove packages that were moved to external repo * Add workspace dependencies pointing to 2023-06-14 branch * Fix servo-tidy.toml errors * Update commit to include #31346 * Update commit to include servo/stylo#2 * Move css-properties.json lookup to target/doc/stylo * Remove dependency on vendored mako in favour of pypi dependency This also removes etc/ci/generate_workflow.py, which has been unused since at least 9e71bd6a7010d6e5723831696ae0ebe26b47682f. * Add temporary code to debug Windows test failures * Fix failures on Windows due to custom target dir * Update commit to include servo/stylo#3 * Fix license in tests/unit/style/build.rs * Document how to build with local Stylo in Cargo.toml
Diffstat (limited to 'python')
-rw-r--r--python/requirements.txt3
-rw-r--r--python/servo/package_commands.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/python/requirements.txt b/python/requirements.txt
index 7c56901599f..dc04dd0eae0 100644
--- a/python/requirements.txt
+++ b/python/requirements.txt
@@ -36,3 +36,6 @@ notify-py == 0.3.42
flask
requests
types-requests
+
+# For mach package on macOS.
+Mako == 1.1.2
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py
index ab8cbacb2cd..54afdd6a9e4 100644
--- a/python/servo/package_commands.py
+++ b/python/servo/package_commands.py
@@ -39,10 +39,6 @@ from servo.build_commands import copy_dependencies
from servo.gstreamer import macos_gst_root
from servo.util import delete, get_target_dir
-# Note: mako cannot be imported at the top level because it breaks mach bootstrap
-sys.path.append(path.join(path.dirname(__file__), "..", "..",
- "components", "style", "properties", "Mako-1.1.2-py2.py3-none-any.whl"))
-
PACKAGES = {
'android': [
'android/armv7-linux-androideabi/production/servoapp.apk',