Skip to content

Commit c94b522

Browse files
committed
CHG: New dist script file.
1 parent 9b5ef0d commit c94b522

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

pyResMan.spec

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
# -*- mode: python -*-
22

3-
import os
4-
import sys
5-
63
block_cipher = None
74

8-
basepath = os.path.abspath(os.path.curdir)
9-
10-
addlibpath = 'GpPcscConnectionPlugin.dll'
11-
if sys.platform.startswith('linux'):
12-
addlibpath = "/usr/lib/libgppcscconnectionplugin.so.1"
135

14-
a = Analysis(['pyResMan/Main.py'],
15-
pathex=[basepath],
16-
binaries=[(addlibpath, '.')],
6+
a = Analysis(['pyResMan\\Main.py'],
7+
pathex=['E:\\opensource\\pyResMan'],
8+
binaries=None,
179
datas=None,
1810
hiddenimports=[],
1911
hookspath=None,
@@ -32,5 +24,5 @@ exe = EXE(pyz,
3224
name='pyResMan',
3325
debug=False,
3426
strip=None,
35-
upx=False,
36-
console=True , version='version.txt')
27+
upx=True,
28+
console=True )

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Versions should comply with PEP440. For a discussion on single-sourcing
2727
# the version across setup.py and the project code, see
2828
# https://packaging.python.org/en/latest/single_source_version.html
29-
version='3.2.2',
29+
version='4.0.0',
3030

3131
description=description,
3232
long_description=long_description,

0 commit comments

Comments
 (0)