Skip to content

Commit f431c72

Browse files
committed
Fixing pygeosx path
1 parent 2642742 commit f431c72

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

geos_ats_package/geos_ats/test_steps.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,10 @@ def label( self ):
529529
return "pygeos"
530530

531531
def executable( self ):
532-
return os.path.join( config.geos_bin_dir, 'python' )
532+
p = os.path.abspath(os.path.join( config.geos_bin_dir, 'python' ))
533+
if os.path.islink(p):
534+
p = os.readlink(p)
535+
return p
533536

534537
def makeArgs( self ):
535538
args = [ os.path.join( self.p.test_directory, self.p.script ) ]

0 commit comments

Comments
 (0)