feat: add minimalist "__main__.py" to 'tagstudio' module - #912
Conversation
|
Good addition overall imo Nit: Wouldn't it be better to just rename |
|
No, it will be a breaking change. This PR is just a bypass to be compliant with the python standard. |
Technically true, however, starting TS directly from this file is, to my knowledge, not intended anyways, see the wiki:
As long as And so because I see no value in having two "main" files around and because the impact on users would be miniscule, I would still advocate for renaming |
Summary
Adding a minimalist
__main__.pytotagstudiomodule to explicitly define the entry point, and so that TagStudio can be run directly frompython -m tagstudio.Tasks Completed