initial commit
This commit is contained in:
commit
2d1bd8636f
0
app/ui/widgets/metadata_input.py
Normal file
0
app/ui/widgets/metadata_input.py
Normal file
0
app/ui/widgets/plot.py
Normal file
0
app/ui/widgets/plot.py
Normal file
17
main.py
Normal file
17
main.py
Normal 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())
|
Loading…
x
Reference in New Issue
Block a user