File tree 2 files changed +27
-5
lines changed
2 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ ${PYTHON_EXE}: deps/python-${PYTHON_VERSION}.msi
59
59
msiexec /i python-2.7.3.msi /qb
60
60
@touch $@
61
61
62
- dependencies_wine : ${PYTHON_EXE} pip.installed
63
-
64
62
${WINE_PATH}/Python27/msvcp90.dll : ${WINE_PATH}/windows/system32/msvcp90.dll
65
63
@cp $< $@
66
64
@@ -89,8 +87,6 @@ ${PYINSTALLER}: tools/.done deps/pyinstaller-2.0.zip
89
87
unzip ../deps/pyinstaller-2.0.zip
90
88
@touch $@
91
89
92
- build_tools : tools/pyinstaller-${PYINSTALLER_VERSION}/pyinstaller.py
93
-
94
90
tools/env/bin/activate : tools/.done
95
91
virtualenv --no-site-packages --distribute tools/env
96
92
@touch $@
@@ -107,11 +103,14 @@ dependencies_wine: ${PYTHON_EXE} ${PIP_EXE}
107
103
108
104
windows_binary_dependencies : ${WINE_PATH}/Python27/Scripts/pywin32_postinstall.py
109
105
106
+ dist/linux/pynes : ${PYINSTALLER} tools/requirements.windows.checked
107
+ python ${PYINSTALLER} pynes.linux.spec
108
+
110
109
dist/windows/pynes.exe : ${PYINSTALLER} ${PYTHON_EXE} windows_binary_dependencies tools/requirements.windows.checked
111
110
wine ${PYTHON_EXE} ${PYINSTALLER} --onefile pynes.windows.spec
112
111
@touch $@
113
112
114
- dist : clean dist/windows/pynes.exe
113
+ dist : clean dist/linux/pynes dist/ windows/pynes.exe
115
114
116
115
clean :
117
116
@rm -rf build
Original file line number Diff line number Diff line change
1
+ # -*- mode: python -*-
2
+
3
+ a = Analysis (['bin/pynes' ], pathex = [os .path .join ('.' )],
4
+ hiddenimports = ['pynes' ], hookspath = None )
5
+
6
+ pyz = PYZ (a .pure )
7
+
8
+ exe = EXE (pyz ,
9
+ a .scripts ,
10
+ exclude_binaries = 1 ,
11
+ name = os .path .join ('build' , 'pyi.linux' , 'pynes' ),
12
+ debug = False ,
13
+ strip = None ,
14
+ upx = False ,
15
+ console = True )
16
+
17
+ coll = COLLECT (exe ,
18
+ a .binaries ,
19
+ a .zipfiles ,
20
+ a .datas ,
21
+ strip = None ,
22
+ upx = False ,
23
+ name = os .path .join ('dist' , 'linux' ))
You can’t perform that action at this time.
0 commit comments