Skip to content

Commit b3135f7

Browse files
authored
Nox: use inplace installs (#5865)
1 parent 559f774 commit b3135f7

File tree

1 file changed

+3
-2
lines changed
  • packages/google-cloud-core

1 file changed

+3
-2
lines changed

packages/google-cloud-core/nox.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ def default(session):
3232
Python corresponding to the ``nox`` binary the ``PATH`` can
3333
run the tests.
3434
"""
35-
# Install all test dependencies, then install this package in-place.
35+
# Install all test dependencies, then install local packages in-place.
3636
session.install(
3737
'mock',
3838
'pytest',
3939
'pytest-cov',
4040
'grpcio >= 1.0.2',
41-
*LOCAL_DEPS
4241
)
42+
for local_dep in LOCAL_DEPS:
43+
session.install('-e', local_dep)
4344
session.install('-e', '.')
4445

4546
# Run py.test against the unit tests.

0 commit comments

Comments
 (0)