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
fde15c22
Commit
fde15c22
authored
May 05, 2010
by
Ronald Oussoren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove traces of MacOS9 support.
Fix for issue #7908
parent
ecfcbac5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
32 deletions
+0
-32
command/install.py
command/install.py
+0
-14
file_util.py
file_util.py
+0
-9
util.py
util.py
+0
-9
No files found.
command/install.py
View file @
fde15c22
...
...
@@ -65,20 +65,6 @@ INSTALL_SCHEMES = {
'scripts'
:
'$userbase/Scripts'
,
'data'
:
'$userbase'
,
},
'mac'
:
{
'purelib'
:
'$base/Lib/site-packages'
,
'platlib'
:
'$base/Lib/site-packages'
,
'headers'
:
'$base/Include/$dist_name'
,
'scripts'
:
'$base/Scripts'
,
'data'
:
'$base'
,
},
'mac_user'
:
{
'purelib'
:
'$usersite'
,
'platlib'
:
'$usersite'
,
'headers'
:
'$userbase/$py_version_short/include/$dist_name'
,
'scripts'
:
'$userbase/bin'
,
'data'
:
'$userbase'
,
},
'os2'
:
{
'purelib'
:
'$base/Lib/site-packages'
,
'platlib'
:
'$base/Lib/site-packages'
,
...
...
file_util.py
View file @
fde15c22
...
...
@@ -132,15 +132,6 @@ def copy_file(src, dst, preserve_mode=1, preserve_times=1, update=0,
if
dry_run
:
return
(
dst
,
1
)
# On Mac OS, use the native file copy routine
if
os
.
name
==
'mac'
:
import
macostools
try
:
macostools
.
copy
(
src
,
dst
,
0
,
preserve_times
)
except
os
.
error
as
exc
:
raise
DistutilsFileError
(
"could not copy '%s' to '%s': %s"
%
(
src
,
dst
,
exc
.
args
[
-
1
]))
# If linking (hard or symbolic), use the appropriate system call
# (Unix only, of course, but that's the caller's responsibility)
elif
link
==
'hard'
:
...
...
util.py
View file @
fde15c22
...
...
@@ -91,15 +91,6 @@ def change_root(new_root, pathname):
path
=
path
[
1
:]
return
os
.
path
.
join
(
new_root
,
path
)
elif
os
.
name
==
'mac'
:
if
not
os
.
path
.
isabs
(
pathname
):
return
os
.
path
.
join
(
new_root
,
pathname
)
else
:
# Chop off volume name from start of path
elements
=
pathname
.
split
(
":"
,
1
)
pathname
=
":"
+
elements
[
1
]
return
os
.
path
.
join
(
new_root
,
pathname
)
else
:
raise
DistutilsPlatformError
(
"nothing known about "
"platform '%s'"
%
os
.
name
)
...
...
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