aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy
diff options
context:
space:
mode:
authorKartikaya Gupta (kats) <staktrace@users.noreply.github.com>2019-05-15 11:22:05 -0400
committerGitHub <noreply@github.com>2019-05-15 11:22:05 -0400
commit7d658c990f436dd3f8b821c18b14c10a0e28c738 (patch)
tree15e3e33bf83d96f2f4dfbf7a33be720c8a11f489 /python/tidy
parent576394b288270e49562898cca497959eb9b5a711 (diff)
downloadservo-7d658c990f436dd3f8b821c18b14c10a0e28c738.tar.gz
servo-7d658c990f436dd3f8b821c18b14c10a0e28c738.zip
Include missing dependency requirements
Running `servo-tidy` in a virtualenv where all you've done is `pip install servo-tidy==0.3.0` doesn't actually work because of missing dependencies. PyYAML and voluptuous are required as well. I don't know anything about python package management but declaring these missing dependencies seems like an appropriate thing to do. Patch itself is untested because I don't know how, although with these dependencies installed in my virtualenv running `servo-tidy` works.
Diffstat (limited to 'python/tidy')
-rw-r--r--python/tidy/setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tidy/setup.py b/python/tidy/setup.py
index c761bea7b2f..66229fe4c91 100644
--- a/python/tidy/setup.py
+++ b/python/tidy/setup.py
@@ -17,6 +17,8 @@ install_requires = [
"flake8==2.4.1",
"toml==0.9.2",
"colorama==0.3.7",
+ "voluptuous==0.11.5",
+ "PyYAML==5.1",
]
here = os.path.dirname(os.path.abspath(__file__))