diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -54,6 +54,7 @@ setup_params = dict(
 	],

 	setup_requires=[

 		'hgtools',

+		'pytest-runner',

 	],

 	use_2to3=True,

 	use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
Use pytest-runner to allow tests to be invoked with 'setup.py ptr'