mirror of
https://github.com/tgorordo/carousel.git
synced 2026-06-14 21:32:14 -07:00
add click and gui pyinstaller targets
This commit is contained in:
parent
5ee9a2f33f
commit
04fc4754bf
5 changed files with 96 additions and 2 deletions
|
|
@ -1,4 +1,9 @@
|
|||
import click
|
||||
import carousel
|
||||
|
||||
if __name__ == "__main__":
|
||||
@click.command()
|
||||
def cmd():
|
||||
carousel.main()
|
||||
|
||||
if __name__ == "__main__":
|
||||
cmd()
|
||||
10
src/gui.py
Normal file
10
src/gui.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from PySide6.QtWidgets import QApplication, QWidget
|
||||
import sys
|
||||
import carousel
|
||||
|
||||
app = QApplication(sys.argv)
|
||||
|
||||
window = QWidget()
|
||||
window.show()
|
||||
|
||||
app.exec()
|
||||
Loading…
Add table
Add a link
Reference in a new issue