#NEWLINE# def add_requirements( self , requirements ) : #NEWLINE# #INDENT# if ( self [ 'Metadata-Version' ] == '1.1' ) : #NEWLINE# #INDENT# for field in ( 'Obsoletes' , 'Requires' , 'Provides' ) : #NEWLINE# #INDENT# if ( field in self ) : #NEWLINE# #INDENT# del self [ field ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self [ 'Requires-Dist' ] += self