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
0d72c5da
Commit
0d72c5da
authored
Aug 17, 2014
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge 3.4 (closes #22200)
parents
5ef6395c
3100d99a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
26 deletions
+11
-26
command/install.py
command/install.py
+11
-26
No files found.
command/install.py
View file @
0d72c5da
...
...
@@ -15,32 +15,17 @@ from distutils.util import convert_path, subst_vars, change_root
from
distutils.util
import
get_platform
from
distutils.errors
import
DistutilsOptionError
# this keeps compatibility from 2.3 to 2.5
if
sys
.
version
<
"2.6"
:
USER_BASE
=
None
USER_SITE
=
None
HAS_USER_SITE
=
False
else
:
from
site
import
USER_BASE
from
site
import
USER_SITE
HAS_USER_SITE
=
True
if
sys
.
version
<
"2.2"
:
WINDOWS_SCHEME
=
{
'purelib'
:
'$base'
,
'platlib'
:
'$base'
,
'headers'
:
'$base/Include/$dist_name'
,
'scripts'
:
'$base/Scripts'
,
'data'
:
'$base'
,
}
else
:
WINDOWS_SCHEME
=
{
'purelib'
:
'$base/Lib/site-packages'
,
'platlib'
:
'$base/Lib/site-packages'
,
'headers'
:
'$base/Include/$dist_name'
,
'scripts'
:
'$base/Scripts'
,
'data'
:
'$base'
,
}
from
site
import
USER_BASE
from
site
import
USER_SITE
HAS_USER_SITE
=
True
WINDOWS_SCHEME
=
{
'purelib'
:
'$base/Lib/site-packages'
,
'platlib'
:
'$base/Lib/site-packages'
,
'headers'
:
'$base/Include/$dist_name'
,
'scripts'
:
'$base/Scripts'
,
'data'
:
'$base'
,
}
INSTALL_SCHEMES
=
{
'unix_prefix'
:
{
...
...
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