def __init__(self, base_path, base_url,
                 name=None, category=None, endpoint=None, url=None):
        self.base_path = base_path
        self.base_url = base_url

        self._on_windows = platform.system() == 'Windows'

        # Convert allowed_extensions to set for quick validation
        if (self.allowed_extensions
                and not isinstance(self.allowed_extensions, set)):
            self.allowed_extensions = set(self.allowed_extensions)

        super(FileAdmin, self).__init__(name, category, endpoint, url)
Update options so that defaults are user relative to specified pex_root.
dataset/ETHPy150Open syrusakbary/Flask-SuperAdmin/flask_superadmin/contrib/fileadmin.py/FileAdmin.__init__--crossover with--dataset/ETHPy150Open pantsbuild/pex/pex/bin/pex.py/make_relative_to_root