Skip to content

Commit

Permalink
ci: fix paths for appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jan 31, 2021
1 parent 2269957 commit 285001f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ after_test:
# Run pyinstaller
- "pyinstaller -y --log-level=WARN build-recipes\\win_pyjibe.spec"
# Run the binary (the most simple test)
- "dist\\pyjibe\\pyjibe_ui.exe --version"
- "dist\\pyjibe\\PyJibe.exe --version"
# Create InnoSetup installers
# Generate iss file
- "python build-recipes\\win_make_iss.py"
Expand Down
2 changes: 1 addition & 1 deletion build-recipes/win_pyjibe.iss_dummy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define MyAppVersion "0.1.0"
#define MyAppPublisher "AFM-Analysis"
#define MyAppURL "https://pyjibe.readthedocs.io"
#define MyAppExeName "pyjibe_ui.exe"
#define MyAppExeName "PyJibe.exe"
#define MyAppPlatform "win32"
#define MyAppDir = SourcePath + "..\dist\pyjibe\"

Expand Down
7 changes: 3 additions & 4 deletions build-recipes/win_pyjibe.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ if not exists(join(cdir, "pyjibe")):
warnings.warn("Cannot find 'pyjibe'! Please run pyinstaller "+
"from git root folder.")

name = "PyJibe"
pyinstdir = os.path.realpath(cdir+"/build-recipes/")
script = os.path.join(pyinstdir, name+".py")
script = os.path.join(pyinstdir, "PyJibeApp.py")

# Icon
icofile = os.path.join(pyinstdir,"PyJibe.ico")
Expand All @@ -30,7 +29,7 @@ exe = EXE(pyz,
a.scripts,
options,
exclude_binaries=True,
name=name+"_ui.exe",
name="PyJibe.exe",
debug=False,
strip=False,
upx=False,
Expand All @@ -43,4 +42,4 @@ coll = COLLECT(exe,
a.datas,
strip=False,
upx=False,
name=name)
name="PyJibe")

0 comments on commit 285001f

Please sign in to comment.