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 9272fec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 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 @@ -64,7 +64,7 @@ def __init__( self ) :
self.otherPyInstArgs = "" # open ended

def __str__( self ):
nameSpec = ( "--name %s" % (self.name,)
nameSpec = ( "--name %s" % (util._normExeName( self.name ),)
if self.name else "" )
distSpec = ('--distpath "%s"' % (self.distDirPath,)
if self.distDirPath else "" )
Expand Down
2 changes: 1 addition & 1 deletion install3.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set thisDir=%~dp0
cd "%thisDir%"

pip3 install .
python3 -m pip install .
pause

0 comments on commit 9272fec

Please sign in to comment.