reorganizing prefs python code

master
Jordan Orelli 2 years ago
parent 1485516e8c
commit dada83ed81

@ -2,6 +2,7 @@
"""
installs preferences
"""
from installer import Installer
from prefs import Installer
installer = Installer()
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 platform
import subprocess
import sys
import shutil
import json
from functools import cached_property
from installer import host
from installer.options import Options
from installer import log
from installer import targets
from installer import sections
from . import host
from . import sections
from . import targets
from .options import Options
class Installer:
"""

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

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