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
283c3eac
Commit
283c3eac
authored
Oct 24, 2009
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove AtheOS support, as per PEP 11 (which claims that all code was removed in Python 3.0).
parent
0d4e4028
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
18 deletions
+2
-18
command/build_ext.py
command/build_ext.py
+2
-18
No files found.
command/build_ext.py
View file @
283c3eac
...
...
@@ -262,9 +262,9 @@ class build_ext(Command):
if
os
.
name
==
'os2'
:
self
.
library_dirs
.
append
(
os
.
path
.
join
(
sys
.
exec_prefix
,
'Config'
))
# for extensions under Cygwin
and AtheOS
Python's library directory must be
# for extensions under Cygwin Python's library directory must be
# appended to library_dirs
if
sys
.
platform
[:
6
]
==
'cygwin'
or
sys
.
platform
[:
6
]
==
'atheos'
:
if
sys
.
platform
[:
6
]
==
'cygwin'
:
if
sys
.
executable
.
startswith
(
os
.
path
.
join
(
sys
.
exec_prefix
,
"bin"
)):
# building third party extensions
self
.
library_dirs
.
append
(
os
.
path
.
join
(
sys
.
prefix
,
"lib"
,
...
...
@@ -776,22 +776,6 @@ class build_ext(Command):
# don't extend ext.libraries, it may be shared with other
# extensions, it is a reference to the original list
return
ext
.
libraries
+
[
pythonlib
]
elif
sys
.
platform
[:
6
]
==
"atheos"
:
from
distutils
import
sysconfig
template
=
"python%d.%d"
pythonlib
=
(
template
%
(
sys
.
hexversion
>>
24
,
(
sys
.
hexversion
>>
16
)
&
0xff
))
# Get SHLIBS from Makefile
extra
=
[]
for
lib
in
sysconfig
.
get_config_var
(
'SHLIBS'
).
split
():
if
lib
.
startswith
(
'-l'
):
extra
.
append
(
lib
[
2
:])
else
:
extra
.
append
(
lib
)
# don't extend ext.libraries, it may be shared with other
# extensions, it is a reference to the original list
return
ext
.
libraries
+
[
pythonlib
,
"m"
]
+
extra
elif
sys
.
platform
==
'darwin'
:
# Don't use the default code below
return
ext
.
libraries
...
...
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