initial commit

This commit is contained in:
CPD 2025-02-13 12:20:00 +01:00
commit 2d1bd8636f
3 changed files with 17 additions and 0 deletions

View File

0
app/ui/widgets/plot.py Normal file
View File

17
main.py Normal file
View File

@ -0,0 +1,17 @@
import sys
if __name__ == "__main__":
if __package__ is None:
# make relative imports work as described here: https://peps.python.org/pep-0366/#proposed-change
__package__ = "cpdctrl"
from os import path
filepath = path.realpath(path.abspath(__file__))
pdir = path.dirname(path.dirname(filepath))
sys.path.insert(0, pdir)
sys.path.insert(0, path.join(pdir, "cpdctrl"))
print(sys.path)
from app import init
if __name__ == '__main__':
import sys
sys.exit(init.run())