reorganizing prefs python code

master
Jordan Orelli 2 years ago
parent 1485516e8c
commit dada83ed81

@ -2,6 +2,7 @@
""" """
installs preferences installs preferences
""" """
from installer import Installer
from prefs import Installer
installer = Installer() installer = Installer()
installer.run() installer.run()

@ -0,0 +1,5 @@
"""
prefs is a preferences manager
"""
from .installer import Installer

@ -1,22 +1,12 @@
"""
just exists to define our installer
"""
import argparse
import json
import os
import pathlib import pathlib
import platform
import subprocess
import sys import sys
import shutil import json
from functools import cached_property from functools import cached_property
from installer import host from . import host
from installer.options import Options from . import sections
from installer import log from . import targets
from installer import targets from .options import Options
from installer import sections
class Installer: class Installer:
""" """

@ -6,7 +6,8 @@ import argparse
import configparser import configparser
import pathlib import pathlib
from installer import log, host from . import log
from . import host
class Options: class Options:
""" """

@ -8,7 +8,7 @@ import shutil
import os import os
from functools import cached_property from functools import cached_property
from installer import host from . import host
class Target: class Target:
""" """
Loading…
Cancel
Save