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
e211f458
Commit
e211f458
authored
Jul 23, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set sys path technique to raw by default. Fixes #674.
parent
9b058f7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
CHANGES.rst
CHANGES.rst
+19
-0
setuptools/command/easy_install.py
setuptools/command/easy_install.py
+1
-1
No files found.
CHANGES.rst
View file @
e211f458
...
...
@@ -2,6 +2,25 @@
CHANGES
=======
v25
.0.0
-------
*
#
674
:
Default
``
sys
.
path
``
manipulation
by
easy
-
install
.
pth
is
now
"raw"
,
meaning
that
when
writing
easy
-
install
.
pth
during
any
install
operation
,
the
``
sys
.
path
``
will
not
be
rewritten
,
giving
preference
to
easy_installed
packages
.
To
retain
the
old
behavior
when
using
any
easy_install
operation
(
including
``
setup
.
py
install
``
when
setuptools
is
present
),
set
the
environment
variable
:
SETUPTOOLS_SYS_PATH_TECHNIQUE
=
rewrite
This
project
hopes
that
that
few
if
any
environments
find
it
necessary
to
retain
the
old
behavior
,
and
intends
to
drop
support
for
it
altogether
in
a
future
release
.
Please
report
any
relevant
concerns
in
the
ticket
for
this
change
.
v24
.3.1
-------
...
...
setuptools/command/easy_install.py
View file @
e211f458
...
...
@@ -1661,7 +1661,7 @@ class RewritePthDistributions(PthDistributions):
"""
)
if
os
.
environ
.
get
(
'SETUPTOOLS_SYS_PATH_TECHNIQUE'
,
'r
ewrite
'
)
==
'rewrite'
:
if
os
.
environ
.
get
(
'SETUPTOOLS_SYS_PATH_TECHNIQUE'
,
'r
aw
'
)
==
'rewrite'
:
PthDistributions
=
RewritePthDistributions
...
...
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