sysetup 1.3.4__tar.gz → 1.3.5__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.4/src/sysetup.egg-info → sysetup-1.3.5}/PKG-INFO +1 -1
  2. {sysetup-1.3.4 → sysetup-1.3.5}/pyproject.toml +1 -1
  3. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/files/assets.py +7 -3
  4. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/installations.py +6 -4
  5. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/packages.py +1 -1
  6. {sysetup-1.3.4 → sysetup-1.3.5/src/sysetup.egg-info}/PKG-INFO +1 -1
  7. {sysetup-1.3.4 → sysetup-1.3.5}/LICENSE +0 -0
  8. {sysetup-1.3.4 → sysetup-1.3.5}/README.md +0 -0
  9. {sysetup-1.3.4 → sysetup-1.3.5}/bin/pw +0 -0
  10. {sysetup-1.3.4 → sysetup-1.3.5}/bin/pw-askpass +0 -0
  11. {sysetup-1.3.4 → sysetup-1.3.5}/setup.cfg +0 -0
  12. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/__init__.py +0 -0
  13. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/cli/__init__.py +0 -0
  14. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/cli/entry_point.py +0 -0
  15. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/context/__init__.py +0 -0
  16. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/context/context.py +0 -0
  17. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/__init__.py +0 -0
  18. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/environment.py +0 -0
  19. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/files/__init__.py +0 -0
  20. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/files/permissions.py +0 -0
  21. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/files/settings.py +0 -0
  22. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/files/setup.py +0 -0
  23. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/main/main.py +0 -0
  24. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/models/__init__.py +0 -0
  25. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/models/action.py +0 -0
  26. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/models/options.py +0 -0
  27. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/models/path.py +0 -0
  28. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/py.typed +0 -0
  29. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/utils/__init__.py +0 -0
  30. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup/utils/download.py +0 -0
  31. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup.egg-info/SOURCES.txt +0 -0
  32. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup.egg-info/dependency_links.txt +0 -0
  33. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup.egg-info/entry_points.txt +0 -0
  34. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup.egg-info/requires.txt +0 -0
  35. {sysetup-1.3.4 → sysetup-1.3.5}/src/sysetup.egg-info/top_level.txt +0 -0
  36. {sysetup-1.3.4 → sysetup-1.3.5}/tests/test_background.py +0 -0
  37. {sysetup-1.3.4 → sysetup-1.3.5}/tests/test_cli_entry_point.py +0 -0
  38. {sysetup-1.3.4 → sysetup-1.3.5}/tests/test_installer.py +0 -0
  39. {sysetup-1.3.4 → sysetup-1.3.5}/tests/test_main.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sysetup
3
- Version: 1.3.4
3
+ Version: 1.3.5
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.3.4"
3
+ version = "1.3.5"
4
4
  description = "Personal system setup"
5
5
  authors = [{name = "Quinten Roets", email = "qdr2104@columbia.edu"}]
6
6
  license = {text = "MIT"}
@@ -6,11 +6,15 @@ from sysetup.utils import download_directory
6
6
 
7
7
 
8
8
  def setup() -> None:
9
- download_directory(Path.assets)
10
- download_directory(Path.HOME / ".local" / "share" / "kwalletd")
9
+ directories = (
10
+ Path.assets,
11
+ Path.HOME / ".local" / "share" / "kwalletd",
12
+ Path.assets.parent / "backup",
13
+ )
14
+ for directory in directories:
15
+ download_directory(directory)
11
16
  move_crontab()
12
17
  move_setup_files()
13
- download_directory(Path.assets.parent / "backup")
14
18
 
15
19
 
16
20
  def move_crontab() -> None:
@@ -4,11 +4,13 @@ import cli
4
4
 
5
5
  from sysetup.context import context
6
6
  from sysetup.models import Path
7
+ from sysetup.utils import download_file
7
8
 
8
9
 
9
10
  def setup() -> None:
10
11
  install_chromium()
11
12
  install_keyd()
13
+ download_file(Path("/") / "etc" / "systemd" / "system" / "ydotoold.service")
12
14
  enable_service("ydotoold")
13
15
  enable_service("ssh")
14
16
  install_language_support()
@@ -21,10 +23,10 @@ def install_personal_git_repositories() -> None:
21
23
  token = os.getenv("GITHUB", None)
22
24
  if token is not None:
23
25
  base_url = base_url.replace("github.com", f"{token}@github.com")
24
- if not Path.extensions.exists():
25
- command = f"git clone {base_url}/extensions.git"
26
- cli.run(command, Path.extensions)
27
- cli.run(f"pip install git+{base_url}/system.git")
26
+ if not Path.extensions.exists():
27
+ command = f"git clone {base_url}/extensions.git"
28
+ cli.run(command, Path.extensions)
29
+ cli.run(f"pip install git+{base_url}/system.git")
28
30
 
29
31
 
30
32
  def install_language_support() -> None:
@@ -52,7 +52,7 @@ def cleanup_after_install() -> None:
52
52
  if cli.completes_successfully("which qdbus"):
53
53
  commands = (
54
54
  "rm /usr/bin/qdbus",
55
- "ls -s /usr/lib/qt6/bin/qdbus /usr/bin/qdbus",
55
+ "ln -s /usr/lib/qt6/bin/qdbus /usr/bin/qdbus",
56
56
  )
57
57
  cli.run_commands(*commands, root=True)
58
58
  delete = "apt purge -y" if context.apt_is_installed else "pacman -R --noconfirm"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sysetup
3
- Version: 1.3.4
3
+ Version: 1.3.5
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