Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
f443d77a
Commit
f443d77a
authored
Sep 29, 2017
by
Jason R. Coombs
Committed by
GitHub
Sep 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1155 from hroncok/python-m-pip
Tests: Run `python -m pip` instead of plain `pip`
parents
651f97af
7ea8086d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
setuptools/tests/test_develop.py
setuptools/tests/test_develop.py
+3
-1
setuptools/tests/test_namespaces.py
setuptools/tests/test_namespaces.py
+9
-3
No files found.
setuptools/tests/test_develop.py
View file @
f443d77a
...
...
@@ -167,7 +167,9 @@ class TestNamespaces:
target
=
tmpdir
/
'packages'
# use pip to install to the target directory
install_cmd
=
[
'pip'
,
sys
.
executable
,
'-m'
,
'pip.__main__'
,
'install'
,
str
(
pkg_A
),
'-t'
,
str
(
target
),
...
...
setuptools/tests/test_namespaces.py
View file @
f443d77a
...
...
@@ -30,7 +30,9 @@ class TestNamespaces:
targets
=
site_packages
,
path_packages
# use pip to install to the target directory
install_cmd
=
[
'pip'
,
sys
.
executable
,
'-m'
,
'pip.__main__'
,
'install'
,
str
(
pkg_A
),
'-t'
,
str
(
site_packages
),
...
...
@@ -38,7 +40,9 @@ class TestNamespaces:
subprocess
.
check_call
(
install_cmd
)
namespaces
.
make_site_dir
(
site_packages
)
install_cmd
=
[
'pip'
,
sys
.
executable
,
'-m'
,
'pip.__main__'
,
'install'
,
str
(
pkg_B
),
'-t'
,
str
(
path_packages
),
...
...
@@ -88,7 +92,9 @@ class TestNamespaces:
target
=
tmpdir
/
'packages'
# use pip to install to the target directory
install_cmd
=
[
'pip'
,
sys
.
executable
,
'-m'
,
'pip.__main__'
,
'install'
,
str
(
pkg_A
),
'-t'
,
str
(
target
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment