isort
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os # for env vars
|
||||
import stat # file statistics
|
||||
import os # for env vars
|
||||
import stat # file statistics
|
||||
import sys # default system info
|
||||
|
||||
try:
|
||||
import distro
|
||||
except ModuleNotFoundError as e:
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import common
|
||||
import argparse
|
||||
import os
|
||||
import urllib.request, ssl
|
||||
import subprocess # do stuff at the shell level
|
||||
import ssl
|
||||
import subprocess # do stuff at the shell level
|
||||
import urllib.request
|
||||
|
||||
import common
|
||||
|
||||
env = common.prepare_env()
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# import modules
|
||||
import common # app common functions
|
||||
import json # json manipulation
|
||||
import os # for os data, filesystem manipulation
|
||||
import subprocess # for running shell commands
|
||||
import sys # for system commands
|
||||
import traceback # for errors
|
||||
|
||||
import json # json manipulation
|
||||
import os # for os data, filesystem manipulation
|
||||
import subprocess # for running shell commands
|
||||
import sys # for system commands
|
||||
import traceback # for errors
|
||||
import common # app common functions
|
||||
|
||||
# get env
|
||||
env = common.prepare_env() # get environment variables
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import common
|
||||
import os # for env vars
|
||||
import sys # for path
|
||||
import urllib.request # for downloads
|
||||
import os # for env vars
|
||||
import sys # for path
|
||||
import urllib.request # for downloads
|
||||
from shutil import unpack_archive
|
||||
|
||||
import common
|
||||
|
||||
# only do stuff if we don't have a UPX folder
|
||||
|
||||
if not os.path.isdir(os.path.join(".","upx")):
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import subprocess # do stuff at the shell level
|
||||
import os
|
||||
import subprocess # do stuff at the shell level
|
||||
|
||||
|
||||
def git_clean(clean_ignored=True, clean_user=False):
|
||||
excludes = [
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import common
|
||||
import argparse
|
||||
import os
|
||||
import platform
|
||||
import subprocess # do stuff at the shell level
|
||||
import subprocess # do stuff at the shell level
|
||||
|
||||
import common
|
||||
|
||||
env = common.prepare_env()
|
||||
|
||||
|
||||
@@ -6,9 +6,10 @@ import json
|
||||
import os
|
||||
import ssl
|
||||
import urllib.request
|
||||
import yaml
|
||||
from json.decoder import JSONDecodeError
|
||||
|
||||
import yaml
|
||||
|
||||
allACTIONS = {}
|
||||
listACTIONS = []
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import install
|
||||
import get_get_pip
|
||||
|
||||
import argparse
|
||||
|
||||
import get_get_pip
|
||||
import install
|
||||
|
||||
parser = argparse.ArgumentParser(add_help=False)
|
||||
parser.add_argument('--py', default=0)
|
||||
parser.add_argument('--user', default=False, action="store_true")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def get_py_path():
|
||||
user_paths = os.environ["PATH"].split(os.pathsep)
|
||||
(python,py) = ("","")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import os # for env vars
|
||||
from shutil import copy # file manipulation
|
||||
|
||||
import common
|
||||
import os # for env vars
|
||||
from shutil import copy # file manipulation
|
||||
|
||||
env = common.prepare_env()
|
||||
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
Locate and prepare binary builds
|
||||
"""
|
||||
# import distutils.dir_util # for copying trees
|
||||
import os # for env vars
|
||||
import os # for env vars
|
||||
from shutil import move # file manipulation
|
||||
|
||||
# import stat # for file stats
|
||||
# import subprocess # do stuff at the shell level
|
||||
import common
|
||||
from shutil import move # file manipulation
|
||||
|
||||
env = common.prepare_env()
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import distutils.dir_util # for copying trees
|
||||
import os # for env vars
|
||||
import stat # for file stats
|
||||
import subprocess # do stuff at the shell level
|
||||
import distutils.dir_util # for copying trees
|
||||
import os # for env vars
|
||||
import stat # for file stats
|
||||
import subprocess # do stuff at the shell level
|
||||
from shutil import copy, make_archive, move, rmtree # file manipulation
|
||||
|
||||
import common
|
||||
from git_clean import git_clean
|
||||
from shutil import copy, make_archive, move, rmtree # file manipulation
|
||||
|
||||
env = common.prepare_env() # get env vars
|
||||
|
||||
|
||||
Reference in New Issue
Block a user