mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-10 14:06:48 -05:00
Got python3/Qt5 port working in Windows, but still need to finish packaging (#261)
This commit is contained in:
parent
a11cbe4f82
commit
d1c36fa04f
4 changed files with 16 additions and 30 deletions
|
|
@ -19,11 +19,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
"""
|
||||
from __future__ import division
|
||||
import os, sys, subprocess, time, hashlib, platform, json, locale, socket
|
||||
import argparse, Queue, inspect, base64, random, functools, logging, ctypes
|
||||
import argparse, queue, inspect, base64, random, functools, logging, ctypes
|
||||
import hmac, shutil
|
||||
from itertools import izip
|
||||
import stem, stem.control, flask
|
||||
from PyQt4 import QtCore, QtGui
|
||||
from PyQt5 import QtCore, QtWidgets, QtGui
|
||||
|
||||
import onionshare, onionshare_gui
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# -*- mode: python -*-
|
||||
a = Analysis(['onionshare-launcher.py'],
|
||||
hiddenimports=['onionshare', 'onionshare_gui'],
|
||||
excludes=['_tkinter'],
|
||||
#hiddenimports=['onionshare', 'onionshare_gui'],
|
||||
#excludes=['_tkinter'],
|
||||
hookspath=None,
|
||||
runtime_hooks=None)
|
||||
a.datas += [
|
||||
|
|
@ -22,6 +22,7 @@ a.datas += [
|
|||
('locale/pt.json', 'locale/pt.json', 'DATA'),
|
||||
('locale/ru.json', 'locale/ru.json', 'DATA'),
|
||||
('locale/tr.json', 'locale/tr.json', 'DATA'),
|
||||
('version', 'version', 'DATA'),
|
||||
]
|
||||
pyz = PYZ(a.pure)
|
||||
exe = EXE(pyz,
|
||||
|
|
@ -32,7 +33,7 @@ exe = EXE(pyz,
|
|||
strip=False,
|
||||
upx=True,
|
||||
icon='install/onionshare.ico',
|
||||
console=False )
|
||||
console=False)
|
||||
coll = COLLECT(exe,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue