GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Unverified Commit 3d1d3f23 authored by boklm's avatar boklm
Browse files

setup-virtualenv: fix install path on Windows

parent 6cf19ba0
......@@ -43,7 +43,10 @@ unless (-d $virtenv_marionette_dir) {
run($virtualenv_cmd, $virtenv_marionette_dir);
run_from_dir('marionette', "$virtenv_marionette_dir/$bin/python", 'setup.py', 'develop');
# Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1345274
my $marionette_runner_dir = "$virtenv_marionette_dir/$lib/python2.7/site-packages/marionette_harness-4.0.0-py2.7.egg/marionette_harness/runner/";
my $sitepackage = 'site-packages/marionette_harness-4.0.0-py2.7.egg/marionette_harness/runner/';
my $marionette_runner_dir = "$virtenv_marionette_dir/$lib/python2.7/$sitepackage";
$marionette_runner_dir = "$virtenv_marionette_dir/$lib/$sitepackage"
unless -d $marionette_runner_dir;
copy "$FindBin::Bin/data/marionette_certs/test.cert", $marionette_runner_dir;
copy "$FindBin::Bin/data/marionette_certs/test.key", $marionette_runner_dir;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment