Skip to content

limafresh/CTkDeb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTkDeb

Static Badge Static Badge

The easiest way to create a DEB of your CustomTkinter project! You can create a small DEB without deep packaging experience.

Install

pip install "CTkDeb[gui] @ git+https://github.com/limafresh/CTkDeb.git"

Packaging requires the dpkg-deb tool (it is pre-installed on most Debian-like systems, so you probably won't need to install it separately).

Run

Run this in the project folder (relative to which the paths in the config are specified)

ctkdeb-gui

GUI

Screenshot

CLI

ctkdeb config.json

View all arguments:

ctkdeb --help

Python

from ctkdeb import Packager

packager = Packager("config.json")
packager.create_deb()

Arguments:

Argument Type Description
json_path str Path to the JSON config, required
project_folder str Path to the project folder (if the command is not executed from it)
desktop_entry str Path to the custom desktop entry (or its text)

FAQ

  • Do I need to specify Tkinter and CustomTkinter as dependencies?

No, CTkDeb has already taken care of that; just specify third-party dependencies, if any.

Other

App icon: Claude Sonnet 5.

Contributors

Languages