diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..96f1555 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2018 The Python Packaging Authority + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..65706d7 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +This is a simple example package. You can use +[GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/) +to write your content. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d81f60a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,19 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "leek" +version = "0.0.1" +dependencies = [ + "PySide6" +] +description = "A small example package" +readme = "README.md" +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", +] + +[project.scripts] +leek = "leek.leek:main" diff --git a/src/leek/__init__.py b/src/leek/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/leek/leek.py b/src/leek/leek.py new file mode 100644 index 0000000..0fc9342 --- /dev/null +++ b/src/leek/leek.py @@ -0,0 +1,14 @@ +from PySide6.QtWidgets import QApplication, QWidget +import sys + + +def main(): + # If you know you won't use command line arguments QApplication([]) works too. + app = QApplication(sys.argv) + + # Create a Qt widget, which will be our window. + window = QWidget() + window.show() # IMPORTANT!!!!! Windows are hidden by default. + + # Start the event loop. + app.exec()