Skip to content

Commit

Permalink
Windows normExeName patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Baker authored and Anthony Baker committed Jan 17, 2019
1 parent b25ff99 commit b427ac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distbuilder/py_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from distbuilder.util import * # @UnusedWildImport
from distbuilder.opy_library import obfuscatePy, OBFUS_DIR_PATH

PYINST_BIN_NAME = "pyinstaller"
PYINST_BIN_NAME = util._normExeName( "pyinstaller" )

SPEC_EXT = ".spec"

Expand Down Expand Up @@ -263,6 +263,7 @@ def buildExecutable( name=None, entryPointPy=None,
# Confirm success
exePath = joinPath( distDirPath, util._normExeName( name ) )
if not exists(exePath) :
print( 'Binary not found: "%s"' % (exePath,) )
raise Exception( "Binary building failure!" )
print( 'Binary built successfully!\n"%s"' % (exePath,) )
print('')
Expand Down

0 comments on commit b427ac3

Please sign in to comment.