sysetup 1.3.6__tar.gz → 1.3.7__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.3.6/src/sysetup.egg-info → sysetup-1.3.7}/PKG-INFO +1 -2
  2. {sysetup-1.3.6 → sysetup-1.3.7}/README.md +0 -1
  3. {sysetup-1.3.6 → sysetup-1.3.7}/pyproject.toml +1 -1
  4. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/files/assets.py +4 -3
  5. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/installations.py +11 -1
  6. {sysetup-1.3.6 → sysetup-1.3.7/src/sysetup.egg-info}/PKG-INFO +1 -2
  7. {sysetup-1.3.6 → sysetup-1.3.7}/LICENSE +0 -0
  8. {sysetup-1.3.6 → sysetup-1.3.7}/bin/pw +0 -0
  9. {sysetup-1.3.6 → sysetup-1.3.7}/bin/pw-askpass +0 -0
  10. {sysetup-1.3.6 → sysetup-1.3.7}/setup.cfg +0 -0
  11. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/__init__.py +0 -0
  12. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/cli/__init__.py +0 -0
  13. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/cli/entry_point.py +0 -0
  14. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/context/__init__.py +0 -0
  15. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/context/context.py +0 -0
  16. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/__init__.py +0 -0
  17. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/environment.py +0 -0
  18. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/files/__init__.py +0 -0
  19. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/files/permissions.py +0 -0
  20. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/files/settings.py +0 -0
  21. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/files/setup.py +0 -0
  22. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/main.py +0 -0
  23. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/main/packages.py +0 -0
  24. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/models/__init__.py +0 -0
  25. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/models/action.py +0 -0
  26. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/models/options.py +0 -0
  27. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/models/path.py +0 -0
  28. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/py.typed +0 -0
  29. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/utils/__init__.py +0 -0
  30. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/utils/download.py +0 -0
  31. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup/utils/installations.py +0 -0
  32. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup.egg-info/SOURCES.txt +0 -0
  33. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup.egg-info/dependency_links.txt +0 -0
  34. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup.egg-info/entry_points.txt +0 -0
  35. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup.egg-info/requires.txt +0 -0
  36. {sysetup-1.3.6 → sysetup-1.3.7}/src/sysetup.egg-info/top_level.txt +0 -0
  37. {sysetup-1.3.6 → sysetup-1.3.7}/tests/test_background.py +0 -0
  38. {sysetup-1.3.6 → sysetup-1.3.7}/tests/test_cli_entry_point.py +0 -0
  39. {sysetup-1.3.6 → sysetup-1.3.7}/tests/test_main.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: sysetup
3
- Version: 1.3.6
3
+ Version: 1.3.7
4
4
  Summary: Personal system setup
5
5
  Author-email: Quinten Roets <qdr2104@columbia.edu>
6
6
  License: MIT
@@ -46,7 +46,6 @@ Requires-Dist: package-dev-utils<1,>=0.1.6; extra == "dev"
46
46
  * Click experimental: enable tab groups save and sync
47
47
  5) Login to
48
48
  * Pycharm professional
49
- * VNC Server
50
49
  6) For new device: set touchpad scroll direction and click on touch
51
50
 
52
51
  ## Installation
@@ -25,7 +25,6 @@
25
25
  * Click experimental: enable tab groups save and sync
26
26
  5) Login to
27
27
  * Pycharm professional
28
- * VNC Server
29
28
  6) For new device: set touchpad scroll direction and click on touch
30
29
 
31
30
  ## Installation
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sysetup"
3
- version = "1.3.6"
3
+ version = "1.3.7"
4
4
  description = "Personal system setup"
5
5
  authors = [{name = "Quinten Roets", email = "qdr2104@columbia.edu"}]
6
6
  license = {text = "MIT"}
@@ -33,11 +33,12 @@ def move_setup_files() -> None:
33
33
  else:
34
34
  archived_setup_files.append(path)
35
35
 
36
- backup = cache.Backup(paths=setup_files)
37
- backup.pull()
36
+ if setup_files:
37
+ cache.Backup(paths=setup_files).pull()
38
38
 
39
+ source = cache.Backup().source
39
40
  for path in archived_setup_files:
40
- dest = (backup.source / path.relative_to(setup_files_root)).parent
41
+ dest = (source / path.relative_to(setup_files_root)).parent
41
42
  if dest.is_root and not dest.exists():
42
43
  cli.run("mkdir -p", dest, root=True)
43
44
  else:
@@ -10,8 +10,8 @@ from sysetup.utils import download_file, is_installed
10
10
  def setup() -> None:
11
11
  install_chromium()
12
12
  install_keyd()
13
+ install_ydotool()
13
14
  download_file(Path("/") / "etc" / "systemd" / "system" / "ydotoold.service")
14
- enable_service("ydotoold")
15
15
  enable_service("ssh")
16
16
  install_language_support()
17
17
  install_personal_git_repositories()
@@ -72,4 +72,14 @@ def install_repository(name: str, repository: str) -> None:
72
72
  url = f"https://github.com/{repository}"
73
73
  with Path.tempdir() as directory:
74
74
  cli.run("git clone", url, directory)
75
+ if (directory / "CMakeLists.txt").exists():
76
+ cli.run("apt-get install cmake", root=True)
77
+ cli.run("cmake .")
75
78
  cli.run_commands("make", "sudo make install", cwd=directory)
79
+
80
+
81
+ def install_ydotool() -> None:
82
+ if not is_installed("ydotool"):
83
+ cli.run("apt-get install scdoc")
84
+ install_repository("ydotool", "ReimuNotMoe/ydotool")
85
+ enable_service("ydotoold")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: sysetup
3
- Version: 1.3.6
3
+ Version: 1.3.7
4
4
  Summary: Personal system setup
5
5
  Author-email: Quinten Roets <qdr2104@columbia.edu>
6
6
  License: MIT
@@ -46,7 +46,6 @@ Requires-Dist: package-dev-utils<1,>=0.1.6; extra == "dev"
46
46
  * Click experimental: enable tab groups save and sync
47
47
  5) Login to
48
48
  * Pycharm professional
49
- * VNC Server
50
49
  6) For new device: set touchpad scroll direction and click on touch
51
50
 
52
51
  ## Installation
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes