Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
d63811d1
Commit
d63811d1
authored
9 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Fixing build on windows
parent
7b7882f4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sakia.spec
+11
-3
11 additions, 3 deletions
sakia.spec
src/sakia/main.py
+2
-2
2 additions, 2 deletions
src/sakia/main.py
with
13 additions
and
5 deletions
sakia.spec
+
11
−
3
View file @
d63811d1
# -*- mode: python -*-
# -*- mode: python -*-
from
PyInstaller.compat
import
is_darwin
from
PyInstaller.compat
import
is_darwin
,
is_win
import
ctypes
block_cipher
=
None
block_cipher
=
None
a
=
Analysis
([
'
src/sakia/main.py
'
],
a
=
Analysis
([
'
src/sakia/main.py
'
],
pathex
=
[
'
.
'
],
pathex
=
[
'
.
'
],
binaries
=
None
,
binaries
=
None
,
...
@@ -19,6 +22,10 @@ if is_darwin:
...
@@ -19,6 +22,10 @@ if is_darwin:
a
.
binaries
=
a
.
binaries
-
TOC
([
a
.
binaries
=
a
.
binaries
-
TOC
([
(
'
/usr/local/lib/libsodium.so
'
,
None
,
None
),])
(
'
/usr/local/lib/libsodium.so
'
,
None
,
None
),])
if
is_win
:
a
.
binaries
=
a
.
binaries
+
TOC
([(
'
libsodium.dll
'
,
ctypes
.
util
.
find_library
(
'
libsodium.dll
'
),
'
BINARY
'
)])
print
(
a
.
binaries
)
pyz
=
PYZ
(
a
.
pure
,
a
.
zipped_data
,
pyz
=
PYZ
(
a
.
pure
,
a
.
zipped_data
,
cipher
=
block_cipher
)
cipher
=
block_cipher
)
...
@@ -26,10 +33,11 @@ exe = EXE(pyz,
...
@@ -26,10 +33,11 @@ exe = EXE(pyz,
a
.
scripts
,
a
.
scripts
,
exclude_binaries
=
True
,
exclude_binaries
=
True
,
name
=
'
sakia
'
,
name
=
'
sakia
'
,
debug
=
Tru
e
,
debug
=
Fals
e
,
strip
=
False
,
strip
=
False
,
upx
=
True
,
upx
=
True
,
console
=
True
)
console
=
False
,
icon
=
'
sakia.ico
'
)
coll
=
COLLECT
(
exe
,
coll
=
COLLECT
(
exe
,
a
.
binaries
,
a
.
binaries
,
...
...
This diff is collapsed.
Click to expand it.
src/sakia/main.py
+
2
−
2
View file @
d63811d1
...
@@ -18,8 +18,8 @@ import PyQt5.QtSvg
...
@@ -18,8 +18,8 @@ import PyQt5.QtSvg
from
quamash
import
QSelectorEventLoop
from
quamash
import
QSelectorEventLoop
from
PyQt5.QtWidgets
import
QApplication
from
PyQt5.QtWidgets
import
QApplication
from
.gui.mainwindow
import
MainWindow
from
sakia
.gui.mainwindow
import
MainWindow
from
.core.app
import
Application
from
sakia
.core.app
import
Application
def
async_exception_handler
(
loop
,
context
):
def
async_exception_handler
(
loop
,
context
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment