@@ -262,9 +262,9 @@ def finalize_options(self):
262
262
if os .name == 'os2' :
263
263
self .library_dirs .append (os .path .join (sys .exec_prefix , 'Config' ))
264
264
265
- # for extensions under Cygwin and AtheOS Python's library directory must be
265
+ # for extensions under Cygwin Python's library directory must be
266
266
# appended to library_dirs
267
- if sys .platform [:6 ] == 'cygwin' or sys . platform [: 6 ] == 'atheos' :
267
+ if sys .platform [:6 ] == 'cygwin' :
268
268
if sys .executable .startswith (os .path .join (sys .exec_prefix , "bin" )):
269
269
# building third party extensions
270
270
self .library_dirs .append (os .path .join (sys .prefix , "lib" ,
@@ -776,22 +776,6 @@ def get_libraries(self, ext):
776
776
# don't extend ext.libraries, it may be shared with other
777
777
# extensions, it is a reference to the original list
778
778
return ext .libraries + [pythonlib ]
779
- elif sys .platform [:6 ] == "atheos" :
780
- from distutils import sysconfig
781
-
782
- template = "python%d.%d"
783
- pythonlib = (template %
784
- (sys .hexversion >> 24 , (sys .hexversion >> 16 ) & 0xff ))
785
- # Get SHLIBS from Makefile
786
- extra = []
787
- for lib in sysconfig .get_config_var ('SHLIBS' ).split ():
788
- if lib .startswith ('-l' ):
789
- extra .append (lib [2 :])
790
- else :
791
- extra .append (lib )
792
- # don't extend ext.libraries, it may be shared with other
793
- # extensions, it is a reference to the original list
794
- return ext .libraries + [pythonlib , "m" ] + extra
795
779
elif sys .platform == 'darwin' :
796
780
# Don't use the default code below
797
781
return ext .libraries
0 commit comments