Python-With-Gtk-Template/README.md

23 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2020-11-21 01:22:31 +00:00
# Python-With-Gtk-Template
2020-05-08 00:04:09 +00:00
A template project for Python with Gtk applications.
2022-01-23 23:59:25 +00:00
### Requirements
* PyGObject (Gtk introspection library)
* pyxdg (Desktop ".desktop" file parser)
* setproctitle (Define process title to search and kill more easily)
* sqlmodel (SQL databases and is powered by Pydantic and SQLAlchemy)
2022-01-23 23:59:25 +00:00
### Note
* Move respetive sub folder content under user_config to the same places in Linux. Though, user/share/<app name> can go to ~/.config folder if prefered.
* In additiion, place the plugins folder in the same app folder you moved to /usr/share/<app name> or ~/.config/<app name> .
2023-03-07 03:26:48 +00:00
There are a "\<change_me\>" strings and files that need to be set according to your app's name located at:
2022-01-23 23:59:25 +00:00
* \_\_builtins\_\_.py
2023-03-07 03:26:48 +00:00
* user_config/bin/app_name
2022-03-03 07:31:48 +00:00
* user_config/usr/share/app_name
2023-03-07 03:26:48 +00:00
* user_config/usr/share/app_name/icons/app_name.png
* user_config/usr/share/app_name/icons/app_name-64x64.png
* user_config/usr/share/applications/app_name.desktop
2022-03-03 07:31:48 +00:00
2023-03-07 03:26:48 +00:00
For the user_config, after changing names and files, copy all content to their respective destinations.
The logic follows Debian Dpkg packaging and its placement logic.