mv some of python files to libs
This commit is contained in:
parent
7b8a3bf2af
commit
8d81647864
8
_init_path.py
Normal file
8
_init_path.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
"""Set up paths"""
|
||||||
|
import sys
|
||||||
|
|
||||||
|
def add_path(path):
|
||||||
|
if path not in sys.path:
|
||||||
|
sys.path.insert(0, path)
|
||||||
|
|
||||||
|
add_path('libs')
|
||||||
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf8 -*-
|
# -*- coding: utf8 -*-
|
||||||
|
import _init_path
|
||||||
import os.path
|
import os.path
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|||||||
@ -3,9 +3,6 @@ from PyQt4.QtCore import *
|
|||||||
|
|
||||||
from lib import newIcon, labelValidator
|
from lib import newIcon, labelValidator
|
||||||
|
|
||||||
# TODO:
|
|
||||||
# - Calculate optimal position so as not to go out of screen area.
|
|
||||||
|
|
||||||
BB = QDialogButtonBox
|
BB = QDialogButtonBox
|
||||||
|
|
||||||
class LabelDialog(QDialog):
|
class LabelDialog(QDialog):
|
||||||
Loading…
x
Reference in New Issue
Block a user