diff --git a/pyproject.toml b/pyproject.toml index d7c7ada..d918f2b 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,7 @@ dependencies = [ [tool.uv.workspace] members = [ "serverlibrary", - "wallpaper_changer", + "wallpaper_changer/python", "immich-scripts", ] diff --git a/wallpaper_changer/.vscode/launch.json b/wallpaper_changer/.vscode/launch.json index 46ecb96..b0ed4e3 100644 --- a/wallpaper_changer/.vscode/launch.json +++ b/wallpaper_changer/.vscode/launch.json @@ -2,29 +2,26 @@ "version": "0.2.0", "configurations": [ { - "name": "wallpaper_changer: main.py", + "name": "Python: Run wallpaper changer", "type": "debugpy", "request": "launch", - "program": "${workspaceFolder}/main.py", - "args": [ - "--log-level", - "TRACE", - "-x","--replace" - ], + "program": "${workspaceFolder}/python/main.py", + "python": "${workspaceFolder}/python/.venv/bin/python", "console": "integratedTerminal", - "cwd": "${workspaceFolder}", + "cwd": "${workspaceFolder}/python", "justMyCode": false }, { - "name": "wallpaper_changer: tests", + "name": "Python: Run wallpaper_changer tests", "type": "debugpy", "request": "launch", - "program": "${workspaceFolder}/tests/run_tests.py", + "program": "${workspaceFolder}/python/tests/run_tests.py", + "python": "${workspaceFolder}/python/.venv/bin/python", "args": [ "all" ], "console": "integratedTerminal", - "cwd": "${workspaceFolder}", + "cwd": "${workspaceFolder}/python", "justMyCode": false } ] diff --git a/wallpaper_changer/.vscode/settings.json b/wallpaper_changer/.vscode/settings.json index 70f1f0b..0a84fa7 100644 --- a/wallpaper_changer/.vscode/settings.json +++ b/wallpaper_changer/.vscode/settings.json @@ -1,19 +1,3 @@ { - "python.defaultInterpreterPath": "/home/lucas/scripts/wallpaper_changer/.venv/bin/python", - "python-envs.pythonProjects": [ - { - "path": "main.py", - "envManager": "ms-python.python:venv", - "packageManager": "ms-python.python:pip" - } - ], - "editor.tabSize": 4, - "editor.insertSpaces": true, - "editor.detectIndentation": false, - "editor.quickSuggestions": { - "other": true, - "comments": false, - "strings": false - }, - "editor.suggestOnTriggerCharacters": true -} \ No newline at end of file + "python.defaultInterpreterPath": "${workspaceFolder}/python/.venv/bin/python" +} diff --git a/wallpaper_changer/.vscode/tasks.json b/wallpaper_changer/.vscode/tasks.json index 7f93a47..d08a18f 100644 --- a/wallpaper_changer/.vscode/tasks.json +++ b/wallpaper_changer/.vscode/tasks.json @@ -2,25 +2,49 @@ "version": "2.0.0", "tasks": [ { - "label": "Build wallpaperchanger binary", - "type": "shell", - "command": "${workspaceFolder}/.venv/bin/python", + "label": "Python: Run wallpaper changer", + "type": "process", + "command": "${workspaceFolder}/python/.venv/bin/python", "args": [ - "-m", - "PyInstaller", - "--clean", - "--onefile", - "--paths", - "src", - "--name", - "wallpaper_changer", "main.py" ], + "options": { + "cwd": "${workspaceFolder}/python" + }, + "problemMatcher": [] + }, + { + "label": "Python: Run wallpaper_changer tests", + "type": "process", + "command": "${workspaceFolder}/python/.venv/bin/python", + "args": [ + "tests/run_tests.py", + "all" + ], + "options": { + "cwd": "${workspaceFolder}/python" + }, + "group": { + "kind": "test", + "isDefault": true + }, + "problemMatcher": [] + }, + { + "label": "Kotlin: Build Android app", + "type": "process", + "command": "${workspaceFolder}/kotlin/gradlew", + "args": [ + "assembleDebug" + ], + "options": { + "cwd": "${workspaceFolder}/kotlin" + }, "group": { "kind": "build", - "isDefault": true + "isDefault": false }, "problemMatcher": [] } ] -} \ No newline at end of file +} diff --git a/wallpaper_changer/python/.vscode/launch.json b/wallpaper_changer/python/.vscode/launch.json new file mode 100644 index 0000000..46ecb96 --- /dev/null +++ b/wallpaper_changer/python/.vscode/launch.json @@ -0,0 +1,31 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "wallpaper_changer: main.py", + "type": "debugpy", + "request": "launch", + "program": "${workspaceFolder}/main.py", + "args": [ + "--log-level", + "TRACE", + "-x","--replace" + ], + "console": "integratedTerminal", + "cwd": "${workspaceFolder}", + "justMyCode": false + }, + { + "name": "wallpaper_changer: tests", + "type": "debugpy", + "request": "launch", + "program": "${workspaceFolder}/tests/run_tests.py", + "args": [ + "all" + ], + "console": "integratedTerminal", + "cwd": "${workspaceFolder}", + "justMyCode": false + } + ] +} diff --git a/wallpaper_changer/python/.vscode/settings.json b/wallpaper_changer/python/.vscode/settings.json new file mode 100644 index 0000000..9a2e330 --- /dev/null +++ b/wallpaper_changer/python/.vscode/settings.json @@ -0,0 +1,19 @@ +{ + "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", + "python-envs.pythonProjects": [ + { + "path": "main.py", + "envManager": "ms-python.python:venv", + "packageManager": "ms-python.python:pip" + } + ], + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.detectIndentation": false, + "editor.quickSuggestions": { + "other": true, + "comments": false, + "strings": false + }, + "editor.suggestOnTriggerCharacters": true +} \ No newline at end of file diff --git a/wallpaper_changer/python/.vscode/tasks.json b/wallpaper_changer/python/.vscode/tasks.json new file mode 100644 index 0000000..7f93a47 --- /dev/null +++ b/wallpaper_changer/python/.vscode/tasks.json @@ -0,0 +1,26 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Build wallpaperchanger binary", + "type": "shell", + "command": "${workspaceFolder}/.venv/bin/python", + "args": [ + "-m", + "PyInstaller", + "--clean", + "--onefile", + "--paths", + "src", + "--name", + "wallpaper_changer", + "main.py" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [] + } + ] +} \ No newline at end of file diff --git a/wallpaper_changer/README.md b/wallpaper_changer/python/README.md similarity index 79% rename from wallpaper_changer/README.md rename to wallpaper_changer/python/README.md index f82e945..282c03f 100644 --- a/wallpaper_changer/README.md +++ b/wallpaper_changer/python/README.md @@ -8,7 +8,7 @@ Use `--disable-encryption` to build a wallpaper from a folder without encrypting ### Run as a GNOME user service -The systemd user unit runs the daemon in the graphical session, which is required by GNOME's `gsettings`. It assumes the project is checked out at `~/scripts/wallpaper_changer` and uses that checkout's `.venv`; adjust `ExecStart` and `WorkingDirectory` in `systemd/wallpaper-changer.service` if yours is elsewhere. The unit changes the wallpaper every 60 minutes by default; edit `--minutes` to change the interval. +The systemd user unit runs in the graphical session, which is required by GNOME's `gsettings`. It starts the launcher at `~/tools/wallpaper_changer`; the Python checkout now lives at `~/scripts/python/wallpaper_changer`. If you run directly from the checkout, update `ExecStart` in `systemd/wallpaper-changer.service` to use that checkout. The unit changes the wallpaper every 60 minutes by default; edit `--minutes` to change the interval. Install and start it with: diff --git a/wallpaper_changer/docs/MIGRATION_NOTES.md b/wallpaper_changer/python/docs/MIGRATION_NOTES.md similarity index 100% rename from wallpaper_changer/docs/MIGRATION_NOTES.md rename to wallpaper_changer/python/docs/MIGRATION_NOTES.md diff --git a/wallpaper_changer/main.py b/wallpaper_changer/python/main.py similarity index 98% rename from wallpaper_changer/main.py rename to wallpaper_changer/python/main.py index 3ac1024..38a2bd0 100755 --- a/wallpaper_changer/main.py +++ b/wallpaper_changer/python/main.py @@ -1,4 +1,4 @@ -#!/home/lucas/scripts/wallpaper_changer/.venv/bin/python3 +#!/usr/bin/env python3 import sys from pathlib import Path diff --git a/wallpaper_changer/main.spec b/wallpaper_changer/python/main.spec similarity index 100% rename from wallpaper_changer/main.spec rename to wallpaper_changer/python/main.spec diff --git a/wallpaper_changer/pyproject.toml b/wallpaper_changer/python/pyproject.toml similarity index 94% rename from wallpaper_changer/pyproject.toml rename to wallpaper_changer/python/pyproject.toml index a017837..a0fc6be 100644 --- a/wallpaper_changer/pyproject.toml +++ b/wallpaper_changer/python/pyproject.toml @@ -27,7 +27,7 @@ package-dir = {"" = "src"} where = ["src"] [tool.uv.sources] -serverlibrary = { workspace = true } +serverlibrary = { path = "../../serverlibrary" } [dependency-groups] test = [ diff --git a/wallpaper_changer/src/wallpaper_changer/__init__.py b/wallpaper_changer/python/src/wallpaper_changer/__init__.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/__init__.py rename to wallpaper_changer/python/src/wallpaper_changer/__init__.py diff --git a/wallpaper_changer/src/wallpaper_changer/argument_parser.py b/wallpaper_changer/python/src/wallpaper_changer/argument_parser.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/argument_parser.py rename to wallpaper_changer/python/src/wallpaper_changer/argument_parser.py diff --git a/wallpaper_changer/src/wallpaper_changer/config.py b/wallpaper_changer/python/src/wallpaper_changer/config.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/config.py rename to wallpaper_changer/python/src/wallpaper_changer/config.py diff --git a/wallpaper_changer/src/wallpaper_changer/daemon.py b/wallpaper_changer/python/src/wallpaper_changer/daemon.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/daemon.py rename to wallpaper_changer/python/src/wallpaper_changer/daemon.py diff --git a/wallpaper_changer/src/wallpaper_changer/encryption_manager.py b/wallpaper_changer/python/src/wallpaper_changer/encryption_manager.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/encryption_manager.py rename to wallpaper_changer/python/src/wallpaper_changer/encryption_manager.py diff --git a/wallpaper_changer/src/wallpaper_changer/image_repository.py b/wallpaper_changer/python/src/wallpaper_changer/image_repository.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/image_repository.py rename to wallpaper_changer/python/src/wallpaper_changer/image_repository.py diff --git a/wallpaper_changer/src/wallpaper_changer/logging_utils.py b/wallpaper_changer/python/src/wallpaper_changer/logging_utils.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/logging_utils.py rename to wallpaper_changer/python/src/wallpaper_changer/logging_utils.py diff --git a/wallpaper_changer/src/wallpaper_changer/monitor_manager.py b/wallpaper_changer/python/src/wallpaper_changer/monitor_manager.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/monitor_manager.py rename to wallpaper_changer/python/src/wallpaper_changer/monitor_manager.py diff --git a/wallpaper_changer/src/wallpaper_changer/wallpaper_builder.py b/wallpaper_changer/python/src/wallpaper_changer/wallpaper_builder.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/wallpaper_builder.py rename to wallpaper_changer/python/src/wallpaper_changer/wallpaper_builder.py diff --git a/wallpaper_changer/src/wallpaper_changer/wallpaper_changer.py b/wallpaper_changer/python/src/wallpaper_changer/wallpaper_changer.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/wallpaper_changer.py rename to wallpaper_changer/python/src/wallpaper_changer/wallpaper_changer.py diff --git a/wallpaper_changer/src/wallpaper_changer/wallpaper_setter.py b/wallpaper_changer/python/src/wallpaper_changer/wallpaper_setter.py similarity index 100% rename from wallpaper_changer/src/wallpaper_changer/wallpaper_setter.py rename to wallpaper_changer/python/src/wallpaper_changer/wallpaper_setter.py diff --git a/wallpaper_changer/systemd/wallpaper-changer.service b/wallpaper_changer/python/systemd/wallpaper-changer.service similarity index 100% rename from wallpaper_changer/systemd/wallpaper-changer.service rename to wallpaper_changer/python/systemd/wallpaper-changer.service diff --git a/wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg01.jpg b/wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg01.jpg similarity index 100% rename from wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg01.jpg rename to wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg01.jpg diff --git a/wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg03.jpg b/wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg03.jpg similarity index 100% rename from wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg03.jpg rename to wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg03.jpg diff --git a/wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg04.jpg b/wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg04.jpg similarity index 100% rename from wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg04.jpg rename to wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg04.jpg diff --git a/wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Göller01.jpg b/wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Göller01.jpg similarity index 100% rename from wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Göller01.jpg rename to wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Göller01.jpg diff --git a/wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Göller02.jpg b/wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Göller02.jpg similarity index 100% rename from wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Göller02.jpg rename to wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Göller02.jpg diff --git a/wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Hochschwab01.jpg b/wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Hochschwab01.jpg similarity index 100% rename from wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Hochschwab01.jpg rename to wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Hochschwab01.jpg diff --git a/wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Kirchberg02.jpg b/wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Kirchberg02.jpg similarity index 100% rename from wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Kirchberg02.jpg rename to wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Kirchberg02.jpg diff --git a/wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Kirchberg03.jpg b/wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Kirchberg03.jpg similarity index 100% rename from wallpaper_changer/tests/assets/Desktop1920x1080/Foto_Berg_Kirchberg03.jpg rename to wallpaper_changer/python/tests/assets/Desktop1920x1080/Foto_Berg_Kirchberg03.jpg diff --git a/wallpaper_changer/tests/assets/corrupt/00001.jpg_enc b/wallpaper_changer/python/tests/assets/corrupt/00001.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/00001.jpg_enc rename to wallpaper_changer/python/tests/assets/corrupt/00001.jpg_enc diff --git a/wallpaper_changer/tests/assets/corrupt/00002.jpg_enc b/wallpaper_changer/python/tests/assets/corrupt/00002.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/00002.jpg_enc rename to wallpaper_changer/python/tests/assets/corrupt/00002.jpg_enc diff --git a/wallpaper_changer/tests/assets/corrupt/00003.jpg_enc b/wallpaper_changer/python/tests/assets/corrupt/00003.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/00003.jpg_enc rename to wallpaper_changer/python/tests/assets/corrupt/00003.jpg_enc diff --git a/wallpaper_changer/tests/assets/corrupt/00004.jpg_enc b/wallpaper_changer/python/tests/assets/corrupt/00004.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/00004.jpg_enc rename to wallpaper_changer/python/tests/assets/corrupt/00004.jpg_enc diff --git a/wallpaper_changer/tests/assets/corrupt/00005.jpg_enc b/wallpaper_changer/python/tests/assets/corrupt/00005.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/00005.jpg_enc rename to wallpaper_changer/python/tests/assets/corrupt/00005.jpg_enc diff --git a/wallpaper_changer/tests/assets/corrupt/00006.jpg_enc b/wallpaper_changer/python/tests/assets/corrupt/00006.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/00006.jpg_enc rename to wallpaper_changer/python/tests/assets/corrupt/00006.jpg_enc diff --git a/wallpaper_changer/tests/assets/corrupt/00007.jpg_enc b/wallpaper_changer/python/tests/assets/corrupt/00007.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/00007.jpg_enc rename to wallpaper_changer/python/tests/assets/corrupt/00007.jpg_enc diff --git a/wallpaper_changer/tests/assets/corrupt/00008.jpg_enc b/wallpaper_changer/python/tests/assets/corrupt/00008.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/00008.jpg_enc rename to wallpaper_changer/python/tests/assets/corrupt/00008.jpg_enc diff --git a/wallpaper_changer/tests/assets/corrupt/naming_table.enc b/wallpaper_changer/python/tests/assets/corrupt/naming_table.enc similarity index 100% rename from wallpaper_changer/tests/assets/corrupt/naming_table.enc rename to wallpaper_changer/python/tests/assets/corrupt/naming_table.enc diff --git a/wallpaper_changer/tests/assets/images/00011.jpg_enc b/wallpaper_changer/python/tests/assets/images/00011.jpg_enc similarity index 100% rename from wallpaper_changer/tests/assets/images/00011.jpg_enc rename to wallpaper_changer/python/tests/assets/images/00011.jpg_enc diff --git a/wallpaper_changer/tests/assets/images/Foto_Berg01.bmp b/wallpaper_changer/python/tests/assets/images/Foto_Berg01.bmp similarity index 100% rename from wallpaper_changer/tests/assets/images/Foto_Berg01.bmp rename to wallpaper_changer/python/tests/assets/images/Foto_Berg01.bmp diff --git a/wallpaper_changer/tests/assets/images/Foto_Berg01.jpg b/wallpaper_changer/python/tests/assets/images/Foto_Berg01.jpg similarity index 100% rename from wallpaper_changer/tests/assets/images/Foto_Berg01.jpg rename to wallpaper_changer/python/tests/assets/images/Foto_Berg01.jpg diff --git a/wallpaper_changer/tests/assets/images/Foto_Berg01.png b/wallpaper_changer/python/tests/assets/images/Foto_Berg01.png similarity index 100% rename from wallpaper_changer/tests/assets/images/Foto_Berg01.png rename to wallpaper_changer/python/tests/assets/images/Foto_Berg01.png diff --git a/wallpaper_changer/tests/assets/images/Foto_Berg01.tiff b/wallpaper_changer/python/tests/assets/images/Foto_Berg01.tiff similarity index 100% rename from wallpaper_changer/tests/assets/images/Foto_Berg01.tiff rename to wallpaper_changer/python/tests/assets/images/Foto_Berg01.tiff diff --git a/wallpaper_changer/tests/assets/images/Foto_Berg01.webp b/wallpaper_changer/python/tests/assets/images/Foto_Berg01.webp similarity index 100% rename from wallpaper_changer/tests/assets/images/Foto_Berg01.webp rename to wallpaper_changer/python/tests/assets/images/Foto_Berg01.webp diff --git a/wallpaper_changer/tests/assets/images/Foto_Berg04.jpg b/wallpaper_changer/python/tests/assets/images/Foto_Berg04.jpg similarity index 100% rename from wallpaper_changer/tests/assets/images/Foto_Berg04.jpg rename to wallpaper_changer/python/tests/assets/images/Foto_Berg04.jpg diff --git a/wallpaper_changer/tests/assets/images/Foto_Berg_Schneeberg01.jpg b/wallpaper_changer/python/tests/assets/images/Foto_Berg_Schneeberg01.jpg similarity index 100% rename from wallpaper_changer/tests/assets/images/Foto_Berg_Schneeberg01.jpg rename to wallpaper_changer/python/tests/assets/images/Foto_Berg_Schneeberg01.jpg diff --git a/wallpaper_changer/tests/assets/images/half-white-half-black.jpg b/wallpaper_changer/python/tests/assets/images/half-white-half-black.jpg similarity index 100% rename from wallpaper_changer/tests/assets/images/half-white-half-black.jpg rename to wallpaper_changer/python/tests/assets/images/half-white-half-black.jpg diff --git a/wallpaper_changer/tests/assets/monitors/monitors_1mon.xml b/wallpaper_changer/python/tests/assets/monitors/monitors_1mon.xml similarity index 100% rename from wallpaper_changer/tests/assets/monitors/monitors_1mon.xml rename to wallpaper_changer/python/tests/assets/monitors/monitors_1mon.xml diff --git a/wallpaper_changer/tests/assets/monitors/monitors_2mon.xml b/wallpaper_changer/python/tests/assets/monitors/monitors_2mon.xml similarity index 100% rename from wallpaper_changer/tests/assets/monitors/monitors_2mon.xml rename to wallpaper_changer/python/tests/assets/monitors/monitors_2mon.xml diff --git a/wallpaper_changer/tests/assets/monitors/monitors_3mon.xml b/wallpaper_changer/python/tests/assets/monitors/monitors_3mon.xml similarity index 100% rename from wallpaper_changer/tests/assets/monitors/monitors_3mon.xml rename to wallpaper_changer/python/tests/assets/monitors/monitors_3mon.xml diff --git a/wallpaper_changer/tests/assets/monitors/monitors_all.xml b/wallpaper_changer/python/tests/assets/monitors/monitors_all.xml similarity index 100% rename from wallpaper_changer/tests/assets/monitors/monitors_all.xml rename to wallpaper_changer/python/tests/assets/monitors/monitors_all.xml diff --git a/wallpaper_changer/tests/assets/test_private_key.pem b/wallpaper_changer/python/tests/assets/test_private_key.pem similarity index 100% rename from wallpaper_changer/tests/assets/test_private_key.pem rename to wallpaper_changer/python/tests/assets/test_private_key.pem diff --git a/wallpaper_changer/tests/integration/__init__.py b/wallpaper_changer/python/tests/integration/__init__.py similarity index 100% rename from wallpaper_changer/tests/integration/__init__.py rename to wallpaper_changer/python/tests/integration/__init__.py diff --git a/wallpaper_changer/tests/run_tests.py b/wallpaper_changer/python/tests/run_tests.py similarity index 100% rename from wallpaper_changer/tests/run_tests.py rename to wallpaper_changer/python/tests/run_tests.py diff --git a/wallpaper_changer/tests/unit/test_config.py b/wallpaper_changer/python/tests/unit/test_config.py similarity index 100% rename from wallpaper_changer/tests/unit/test_config.py rename to wallpaper_changer/python/tests/unit/test_config.py diff --git a/wallpaper_changer/tests/unit/test_daemon.py b/wallpaper_changer/python/tests/unit/test_daemon.py similarity index 100% rename from wallpaper_changer/tests/unit/test_daemon.py rename to wallpaper_changer/python/tests/unit/test_daemon.py diff --git a/wallpaper_changer/tests/unit/test_encryption_manager.py b/wallpaper_changer/python/tests/unit/test_encryption_manager.py similarity index 100% rename from wallpaper_changer/tests/unit/test_encryption_manager.py rename to wallpaper_changer/python/tests/unit/test_encryption_manager.py diff --git a/wallpaper_changer/tests/unit/test_image_repository.py b/wallpaper_changer/python/tests/unit/test_image_repository.py similarity index 100% rename from wallpaper_changer/tests/unit/test_image_repository.py rename to wallpaper_changer/python/tests/unit/test_image_repository.py diff --git a/wallpaper_changer/tests/unit/test_monitor_manager.py b/wallpaper_changer/python/tests/unit/test_monitor_manager.py similarity index 100% rename from wallpaper_changer/tests/unit/test_monitor_manager.py rename to wallpaper_changer/python/tests/unit/test_monitor_manager.py diff --git a/wallpaper_changer/tests/unit/test_wallpaper_changer.py b/wallpaper_changer/python/tests/unit/test_wallpaper_changer.py similarity index 100% rename from wallpaper_changer/tests/unit/test_wallpaper_changer.py rename to wallpaper_changer/python/tests/unit/test_wallpaper_changer.py diff --git a/wallpaper_changer/tests/unit/test_wallpaper_setter.py b/wallpaper_changer/python/tests/unit/test_wallpaper_setter.py similarity index 100% rename from wallpaper_changer/tests/unit/test_wallpaper_setter.py rename to wallpaper_changer/python/tests/unit/test_wallpaper_setter.py diff --git a/wallpaper_changer/tests/unit/test_walpaper_builder.py b/wallpaper_changer/python/tests/unit/test_walpaper_builder.py similarity index 100% rename from wallpaper_changer/tests/unit/test_walpaper_builder.py rename to wallpaper_changer/python/tests/unit/test_walpaper_builder.py diff --git a/wallpaper_changer/wallpaper_changer.spec b/wallpaper_changer/python/wallpaper_changer.spec similarity index 100% rename from wallpaper_changer/wallpaper_changer.spec rename to wallpaper_changer/python/wallpaper_changer.spec