summaryrefslogtreecommitdiff
path: root/ptr.py
diff options
context:
space:
mode:
authorBenoit Pierre <benoit.pierre@gmail.com>2017-09-06 21:21:54 +0200
committerBenoit Pierre <benoit.pierre@gmail.com>2017-09-06 21:26:35 +0200
commit285f48c23484f931c8418aad70d904c21061c14a (patch)
treebcaa3d6eb62c12c860700fae5e3525bc000a1fbf /ptr.py
parent18c23373216a57bd0301a07601120aecd95906f4 (diff)
downloadpytest-runner-285f48c23484f931c8418aad70d904c21061c14a.tar.gz
fix support for `dependency_links`
Diffstat (limited to 'ptr.py')
-rw-r--r--ptr.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ptr.py b/ptr.py
index ecba60c..56a5c00 100644
--- a/ptr.py
+++ b/ptr.py
@@ -173,7 +173,10 @@ class PyTest(orig.test):
dist = CustomizedDist()
for attr in 'allow_hosts index_url'.split():
setattr(dist, attr, getattr(self, attr))
- for attr in 'install_requires tests_require extras_require'.split():
+ for attr in (
+ 'dependency_links install_requires '
+ 'tests_require extras_require '
+ ).split():
setattr(dist, attr, getattr(self.distribution, attr))
installed_dists = self.install_dists(dist)
if self.dry_run: