Skip to content

Commit

Permalink
Fixing pathex to correct runsharp dir for macOS bin creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Nov 2, 2019
1 parent 16e4531 commit 2372ae9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion runsharp/SHARPpy-osx.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ ver_file.close()
del sharppy
import sharppy

# Get the working path for Azure-Pipelines build
runsharp_path = os.path.dirname(sharppy.__file__) + '/../runsharp/'

# Analyze the SHARPpy package to get dependencies, etc.
a = Analysis(['SHARPpy.py'],
pathex=['/Users/vsts/agent/2.155.1/work/1/s/runsharp', '/Users/vsts/agent/2.155.1/work/1/s', '/Users/blumberg/SHARPpy/runsharp'],
pathex=[runsharp_path, '/Users/blumberg/SHARPpy/runsharp'],
hiddenimports=['xml.etree.ElementTree', 'sharppy.io.pecan_decoder', 'sharppy.io.spc_decoder', 'sharppy.io.buf_decoder', 'sharppy.io.uwyo_decoder', 'datasources.available', 'sharppy.sharptab.prof_collection'],
hookspath=None,
runtime_hooks=None)
Expand Down

0 comments on commit 2372ae9

Please sign in to comment.