@@ -215,9 +215,9 @@ def finalize_options(self):
215215 new_lib = os .path .join (new_lib , suffix )
216216 self .library_dirs .append (new_lib )
217217
218- # for extensions under Cygwin and AtheOS Python's library directory must be
218+ # For extensions under Cygwin, Python's library directory must be
219219 # appended to library_dirs
220- if sys .platform [:6 ] == 'cygwin' or sys . platform [: 6 ] == 'atheos' :
220+ if sys .platform [:6 ] == 'cygwin' :
221221 if sys .executable .startswith (os .path .join (sys .exec_prefix , "bin" )):
222222 # building third party extensions
223223 self .library_dirs .append (os .path .join (sys .prefix , "lib" ,
@@ -715,22 +715,6 @@ def get_libraries(self, ext):
715715 return ext .libraries + [pythonlib ]
716716 else :
717717 return ext .libraries
718- elif sys .platform [:6 ] == "atheos" :
719- from distutils import sysconfig
720-
721- template = "python%d.%d"
722- pythonlib = (template %
723- (sys .hexversion >> 24 , (sys .hexversion >> 16 ) & 0xff ))
724- # Get SHLIBS from Makefile
725- extra = []
726- for lib in sysconfig .get_config_var ('SHLIBS' ).split ():
727- if lib .startswith ('-l' ):
728- extra .append (lib [2 :])
729- else :
730- extra .append (lib )
731- # don't extend ext.libraries, it may be shared with other
732- # extensions, it is a reference to the original list
733- return ext .libraries + [pythonlib , "m" ] + extra
734718 elif sys .platform == 'darwin' :
735719 # Don't use the default code below
736720 return ext .libraries
0 commit comments