Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7daefc3

Browse filesBrowse files
committed
Making custom_pip_install.sh Windows friendly.
Towards #1123.
1 parent 21101e0 commit 7daefc3
Copy full SHA for 7daefc3

File tree

Expand file treeCollapse file tree

2 files changed

+30
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+30
-1
lines changed
Open diff view settings
Collapse file

‎scripts/custom_pip_install.cmd‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
3+
# Copyright 2015 Google Inc. All rights reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
:<<"::batch"
18+
@echo off
19+
pip install --upgrade %*
20+
goto :end
21+
::batch
22+
23+
cd $(dirname $0)
24+
./custom_pip_install.sh $*
25+
exit $?
26+
27+
:<<"::done"
28+
:end
29+
::done
Collapse file

‎tox.ini‎

Copy file name to clipboardExpand all lines: tox.ini
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ envlist =
44

55
[testenv]
66
install_command =
7-
{toxinidir}/scripts/custom_pip_install.sh {opts} {packages}
7+
{toxinidir}/scripts/custom_pip_install.cmd {opts} {packages}
88
commands =
99
nosetests
1010
deps =

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.