Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
dc8412e5
Commit
dc8412e5
authored
Jun 04, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move warning about directory not on sys.path to debug level.
Fix a bunch of multiline string constants that used +.
parent
8f787bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
Lib/distutils/command/install.py
Lib/distutils/command/install.py
+10
-8
No files found.
Lib/distutils/command/install.py
View file @
dc8412e5
...
...
@@ -2,6 +2,8 @@
Implements the Distutils 'install' command."""
from
distutils
import
log
# created 1999/03/13, Greg Ward
__revision__
=
"$Id$"
...
...
@@ -368,8 +370,8 @@ class install (Command):
self
.
install_scripts
is
None
or
self
.
install_data
is
None
):
raise
DistutilsOptionError
,
\
"install-base or install-platbase supplied, but "
+
\
"installation scheme is incomplete"
(
"install-base or install-platbase supplied, but "
"installation scheme is incomplete"
)
return
if
self
.
home
is
not
None
:
...
...
@@ -464,8 +466,8 @@ class install (Command):
(
path_file
,
extra_dirs
)
=
self
.
extra_path
else
:
raise
DistutilsOptionError
,
\
"'extra_path' option must be a list, tuple, or "
+
\
"comma-separated string with 1 or 2 elements"
(
"'extra_path' option must be a list, tuple, or "
"comma-separated string with 1 or 2 elements"
)
# convert to local form in case Unix notation used (as it
# should be in setup scripts)
...
...
@@ -522,10 +524,10 @@ class install (Command):
if
(
self
.
warn_dir
and
not
(
self
.
path_file
and
self
.
install_path_file
)
and
install_lib
not
in
sys_path
):
self
.
warn
((
"modules installed to '%s', which is not in "
+
"Python's module search path (sys.path) -- "
+
"you'll have to change the search path yourself"
)
%
self
.
install_lib
)
log
.
debug
((
"modules installed to '%s', which is not in "
"Python's module search path (sys.path) -- "
"you'll have to change the search path yourself"
)
,
self
.
install_lib
)
# run ()
...
...
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