Permalink
Browse files

Remove no-longer-needed debug info

  • Loading branch information...
crwood committed Jan 31, 2019
1 parent 1431162 commit 7481cd11dd413c7ea45b58ff0c7a664542f549da
Showing with 2 additions and 22 deletions.
  1. +1 −21 gridsync/core.py
  2. +1 −1 misc/gridsync.spec
@@ -28,26 +28,6 @@
app.setWindowIcon(QIcon(resource(settings['application']['tray_icon'])))


def print_environment_info():
print('################################################')
from PyQt5.QtCore import QLibraryInfo
print("ArchDataPath =", QLibraryInfo.location(QLibraryInfo.ArchDataPath))
print("BinariesPath =", QLibraryInfo.location(QLibraryInfo.BinariesPath))
print("DataPath =", QLibraryInfo.location(QLibraryInfo.DataPath))
print("ImportsPath =", QLibraryInfo.location(QLibraryInfo.ImportsPath))
print("HeadersPath =", QLibraryInfo.location(QLibraryInfo.HeadersPath))
print("LibrariesPath =", QLibraryInfo.location(QLibraryInfo.LibrariesPath))
print(
"LibraryExecutablesPath =",
QLibraryInfo.location(QLibraryInfo.LibraryExecutablesPath))
print("PrefixPath =", QLibraryInfo.location(QLibraryInfo.PrefixPath))
print("SettingsPath =", QLibraryInfo.location(QLibraryInfo.SettingsPath))
print('------------------------------------------------')
for k, v, in sorted(os.environ.items()):
print("{}={}".format(k, v))
print('################################################')


class Core():
def __init__(self, args):
self.args = args
@@ -103,7 +83,7 @@ def start(self):
os.makedirs(config_dir)
except OSError:
pass
print_environment_info()

# Acquire a filesystem lock to prevent multiple instances from running
lock = FilesystemLock(
os.path.join(config_dir, "{}.lock".format(APP_NAME)))
@@ -63,7 +63,7 @@ exe = EXE(
a.scripts,
exclude_binaries=True,
name=app_name,
debug=(True if sys.platform.startswith('linux') else False),
debug=False,
strip=False,
upx=False,
console=False,

0 comments on commit 7481cd1

Please sign in to comment.