sysetup 1.2.1__tar.gz → 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sysetup-1.2.1/src/sysetup.egg-info → sysetup-1.3.0}/PKG-INFO +1 -1
- {sysetup-1.2.1 → sysetup-1.3.0}/pyproject.toml +1 -1
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/installations.py +13 -4
- {sysetup-1.2.1 → sysetup-1.3.0/src/sysetup.egg-info}/PKG-INFO +1 -1
- {sysetup-1.2.1 → sysetup-1.3.0}/LICENSE +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/README.md +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/bin/pw +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/bin/pw-askpass +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/setup.cfg +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/__init__.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/cli/__init__.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/cli/entry_point.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/context/__init__.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/context/context.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/__init__.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/environment.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/__init__.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/assets.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/permissions.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/settings.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/setup.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/main.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/packages.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/models/__init__.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/models/action.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/models/options.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/models/path.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/py.typed +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/utils/__init__.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/utils/download.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/SOURCES.txt +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/dependency_links.txt +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/entry_points.txt +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/requires.txt +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/top_level.txt +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/tests/test_background.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/tests/test_cli_entry_point.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/tests/test_installer.py +0 -0
- {sysetup-1.2.1 → sysetup-1.3.0}/tests/test_main.py +0 -0
|
@@ -8,7 +8,8 @@ from sysetup.models import Path
|
|
|
8
8
|
|
|
9
9
|
def setup() -> None:
|
|
10
10
|
install_chromium()
|
|
11
|
-
|
|
11
|
+
install_repository("jumpapp", "mkropat/jumpapp")
|
|
12
|
+
install_keyd()
|
|
12
13
|
install_language_support()
|
|
13
14
|
install_linter_env()
|
|
14
15
|
install_personal_git_repositories()
|
|
@@ -60,8 +61,16 @@ def install_linter_env() -> None:
|
|
|
60
61
|
cli.run(f"{python_path} -m pip install autoimport powertrace-hooks")
|
|
61
62
|
|
|
62
63
|
|
|
63
|
-
def
|
|
64
|
-
|
|
64
|
+
def install_keyd() -> None:
|
|
65
|
+
install_repository("keyd", "rvaiya/keyd")
|
|
66
|
+
commands = ("systemctl enable keyd", "systemctl start keyd")
|
|
67
|
+
if not context.is_running_in_test:
|
|
68
|
+
cli.run_commands(*commands, root=True)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def install_repository(name: str, repository: str) -> None:
|
|
72
|
+
if not cli.capture_output("which", name, check=False):
|
|
73
|
+
url = f"https://github.com/{repository}"
|
|
65
74
|
with Path.tempdir() as directory:
|
|
66
|
-
cli.run("git clone
|
|
75
|
+
cli.run("git clone", url, directory)
|
|
67
76
|
cli.run_commands("make", "sudo make install", cwd=directory)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|