def finalize_options(self):
        """Set final values for all the options on the Distribution
        instance, analogous to the .finalize_options() method of Command
        objects.
        """
        for attr in ('keywords', 'platforms'):
            value = getattr(self.metadata, attr)
            if value is None:
                continue
            if isinstance(value, str):
                value = [elm.strip() for elm in value.split(',')]
                setattr(self.metadata, attr, value)
Set final values for all the options on the Distribution
        instance, analogous to the .finalize_options() method of Command
        objects.
        
product/gradle-plugin/src/main/python/setuptools/_distutils/dist.py