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
6b2cfd3d
Commit
6b2cfd3d
authored
Mar 11, 2013
by
Terry Jan Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
parent
2374a4cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
command/install.py
command/install.py
+2
-2
tests/test_install.py
tests/test_install.py
+1
-1
No files found.
command/install.py
View file @
6b2cfd3d
...
...
@@ -278,8 +278,8 @@ class install(Command):
if
self
.
user
and
(
self
.
prefix
or
self
.
exec_prefix
or
self
.
home
or
self
.
install_base
or
self
.
install_platbase
):
raise
DistutilsOptionError
(
"can't combine user with
with prefix/
"
"exec_prefix/home or install_(plat)base"
)
raise
DistutilsOptionError
(
"can't combine user with
prefix,
"
"exec_prefix/home
,
or install_(plat)base"
)
# Next, stuff that's wrong (or dubious) only on certain platforms.
if
os
.
name
!=
"posix"
:
...
...
tests/test_install.py
View file @
6b2cfd3d
...
...
@@ -165,7 +165,7 @@ class InstallTestCase(support.TempdirManager,
cmd
.
home
=
'home'
self
.
assertRaises
(
DistutilsOptionError
,
cmd
.
finalize_options
)
# can't combine user with
with
prefix/exec_prefix/home or
# can't combine user with prefix/exec_prefix/home or
# install_(plat)base
cmd
.
prefix
=
None
cmd
.
user
=
'user'
...
...
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