VoIlAlex / setup-py-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS

ozw1z5rd opened this issue · comments

Does not work on macOS.

class AppDataPaths:
    def __init__(self,
                 app_name: str, 
                 config_ext: str = 'ini', 
                 root_appdata: str = None, 
                 with_dot: bool = True):
        self._prefix = '.' if with_dot else ''
        self.app_name = app_name
        self.app_data_path = None
        if sys.platform == 'linux':  <--- this is 'darwin' on macOS.
            root_folder = os.getenv('HOME')

If someone have time to apply the patch...