Skip to content

Commit

Permalink
bug in --print-plugin-path
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Apr 25, 2024
1 parent 9199711 commit c0c4868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
export PDAL_PLUGIN_PATH=$(python -m pdal --pdal-plugin-path)
echo "PDAL_DRIVER_PATH $PDAL_DRIVER_PATH"
echo "PDAL_PLUGIN_PATH $PDAL_PLUGIN_PATH"
python -m pdal
pdal --drivers --debug
py.test -v test/
2 changes: 1 addition & 1 deletion src/pdal/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def print_driver_path(args):
print (os.environ['PDAL_DRIVER_PATH'])

def print_plugin_path(args):
purelib = sysconfig.get_paths()["purelib"]+os.path.sep+"pdal"
purelib = sysconfig.get_paths()["purelib"]+os.path.sep

if sys.platform == "linux" or sys.platform == "linux2":
suffix = 'so'
Expand Down

0 comments on commit c0c4868

Please sign in to comment.