Skip to content

fix: make tagstudio python package executable#1414

Merged
Computerdores merged 3 commits into
mainfrom
fix-make-package-executable
Jul 2, 2026
Merged

fix: make tagstudio python package executable#1414
Computerdores merged 3 commits into
mainfrom
fix-make-package-executable

Conversation

@Computerdores

@Computerdores Computerdores commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Originally proposed in #912, but the author closed it.
So I reimplemented it here since I don't know whether they want their changes to be used.
Allows using python -m tagstudio to launch tagstudio.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@Computerdores Computerdores moved this to 🏓 Ready for Review in TagStudio Development Jul 2, 2026
Comment thread src/tagstudio/__main__.py Outdated
# SPDX-License-Identifier: GPL-3.0-only


from .main import main

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
from .main import main
from tagstudio.main import main

Sorry for the nitpick: any reason not to do the absolute import here? That follows how the imports are done elsewhere in the program.
Otherwise, this follows as done in other projects, thanks!

Co-authored-by: Xarvex <60973030+xarvex@users.noreply.github.com>
@Computerdores Computerdores merged commit 3ffa012 into main Jul 2, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from 🏓 Ready for Review to ✅ Done in TagStudio Development Jul 2, 2026
@CyanVoxel CyanVoxel added the Type: Installation Installing, building, and/or launching the program label Jul 4, 2026
@Computerdores Computerdores deleted the fix-make-package-executable branch July 5, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Installation Installing, building, and/or launching the program

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants