mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-07-05 11:49:40 +00:00
fix: make tagstudio python package executable (#1414)
* fix: make tagstudio python package executable by adding stub __main__.py * fix: add license note + set exec bit * Update src/tagstudio/__main__.py Co-authored-by: Xarvex <60973030+xarvex@users.noreply.github.com> --------- Co-authored-by: Xarvex <60973030+xarvex@users.noreply.github.com>
This commit is contained in:
9
src/tagstudio/__main__.py
Executable file
9
src/tagstudio/__main__.py
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-FileCopyrightText: (c) TagStudio Contributors
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
|
||||
from tagstudio.main import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-FileCopyrightText: (c) TagStudio Contributors
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
|
||||
Reference in New Issue
Block a user