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
ac97b020
Commit
ac97b020
authored
Sep 01, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27919: Deprecate extra_path option in distutils.
parent
0685847e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
command/install.py
command/install.py
+6
-0
No files found.
command/install.py
View file @
ac97b020
...
@@ -175,6 +175,7 @@ class install(Command):
...
@@ -175,6 +175,7 @@ class install(Command):
self
.
compile
=
None
self
.
compile
=
None
self
.
optimize
=
None
self
.
optimize
=
None
# Deprecated
# These two are for putting non-packagized distributions into their
# These two are for putting non-packagized distributions into their
# own directory and creating a .pth file if it makes sense.
# own directory and creating a .pth file if it makes sense.
# 'extra_path' comes from the setup file; 'install_path_file' can
# 'extra_path' comes from the setup file; 'install_path_file' can
...
@@ -344,6 +345,7 @@ class install(Command):
...
@@ -344,6 +345,7 @@ class install(Command):
'scripts'
,
'data'
,
'headers'
,
'scripts'
,
'data'
,
'headers'
,
'userbase'
,
'usersite'
)
'userbase'
,
'usersite'
)
# Deprecated
# Well, we're not actually fully completely finalized yet: we still
# Well, we're not actually fully completely finalized yet: we still
# have to deal with 'extra_path', which is the hack for allowing
# have to deal with 'extra_path', which is the hack for allowing
# non-packagized module distributions (hello, Numerical Python!) to
# non-packagized module distributions (hello, Numerical Python!) to
...
@@ -490,6 +492,10 @@ class install(Command):
...
@@ -490,6 +492,10 @@ class install(Command):
self
.
extra_path
=
self
.
distribution
.
extra_path
self
.
extra_path
=
self
.
distribution
.
extra_path
if
self
.
extra_path
is
not
None
:
if
self
.
extra_path
is
not
None
:
log
.
warn
(
"Distribution option extra_path is deprecated. "
"See issue27919 for details."
)
if
isinstance
(
self
.
extra_path
,
str
):
if
isinstance
(
self
.
extra_path
,
str
):
self
.
extra_path
=
self
.
extra_path
.
split
(
','
)
self
.
extra_path
=
self
.
extra_path
.
split
(
','
)
...
...
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