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.
Files changed (39) hide show
  1. {sysetup-1.2.1/src/sysetup.egg-info → sysetup-1.3.0}/PKG-INFO +1 -1
  2. {sysetup-1.2.1 → sysetup-1.3.0}/pyproject.toml +1 -1
  3. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/installations.py +13 -4
  4. {sysetup-1.2.1 → sysetup-1.3.0/src/sysetup.egg-info}/PKG-INFO +1 -1
  5. {sysetup-1.2.1 → sysetup-1.3.0}/LICENSE +0 -0
  6. {sysetup-1.2.1 → sysetup-1.3.0}/README.md +0 -0
  7. {sysetup-1.2.1 → sysetup-1.3.0}/bin/pw +0 -0
  8. {sysetup-1.2.1 → sysetup-1.3.0}/bin/pw-askpass +0 -0
  9. {sysetup-1.2.1 → sysetup-1.3.0}/setup.cfg +0 -0
  10. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/__init__.py +0 -0
  11. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/cli/__init__.py +0 -0
  12. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/cli/entry_point.py +0 -0
  13. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/context/__init__.py +0 -0
  14. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/context/context.py +0 -0
  15. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/__init__.py +0 -0
  16. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/environment.py +0 -0
  17. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/__init__.py +0 -0
  18. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/assets.py +0 -0
  19. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/permissions.py +0 -0
  20. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/settings.py +0 -0
  21. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/files/setup.py +0 -0
  22. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/main.py +0 -0
  23. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/main/packages.py +0 -0
  24. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/models/__init__.py +0 -0
  25. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/models/action.py +0 -0
  26. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/models/options.py +0 -0
  27. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/models/path.py +0 -0
  28. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/py.typed +0 -0
  29. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/utils/__init__.py +0 -0
  30. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup/utils/download.py +0 -0
  31. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/SOURCES.txt +0 -0
  32. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/dependency_links.txt +0 -0
  33. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/entry_points.txt +0 -0
  34. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/requires.txt +0 -0
  35. {sysetup-1.2.1 → sysetup-1.3.0}/src/sysetup.egg-info/top_level.txt +0 -0
  36. {sysetup-1.2.1 → sysetup-1.3.0}/tests/test_background.py +0 -0
  37. {sysetup-1.2.1 → sysetup-1.3.0}/tests/test_cli_entry_point.py +0 -0
  38. {sysetup-1.2.1 → sysetup-1.3.0}/tests/test_installer.py +0 -0
  39. {sysetup-1.2.1 → sysetup-1.3.0}/tests/test_main.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sysetup
3
- Version: 1.2.1
3
+ Version: 1.3.0
4
4
  Summary: Personal system setup
5
5
  Author-email: Quinten Roets <qdr2104@columbia.edu>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sysetup"
3
- version = "1.2.1"
3
+ version = "1.3.0"
4
4
  description = "Personal system setup"
5
5
  authors = [{name = "Quinten Roets", email = "qdr2104@columbia.edu"}]
6
6
  license = {text = "MIT"}
@@ -8,7 +8,8 @@ from sysetup.models import Path
8
8
 
9
9
  def setup() -> None:
10
10
  install_chromium()
11
- install_jumpapp()
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 install_jumpapp() -> None:
64
- if not cli.capture_output("which jumpapp", check=False):
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 https://github.com/mkropat/jumpapp", directory)
75
+ cli.run("git clone", url, directory)
67
76
  cli.run_commands("make", "sudo make install", cwd=directory)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sysetup
3
- Version: 1.2.1
3
+ Version: 1.3.0
4
4
  Summary: Personal system setup
5
5
  Author-email: Quinten Roets <qdr2104@columbia.edu>
6
6
  License: MIT
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