Issue corrected pip-installer CI script's package discovery command (now picks only .py files without __init__)
@@ -108,7 +108,7 @@ pip-installer:
# create a Python file that will import all available packages from the pip installer
- package_importer="import_niftynet_packages.py"
# traverse the file hierarchy recursively to discover all packages
- - find niftynet -type f \( ! -name . \) -print | sed 's/\.\.\///g;s/\//\./g;s/\.py//g' | grep -v __ | sed 's/niftynet/import niftynet/g' > $venv/$package_importer
+ - find niftynet -type f \( ! -name . \) -print | grep '.py$' | grep -v __init__ | sed 's/\.\.\///g;s/\//\./g;s/\.py//g' | sed 's/niftynet/import niftynet/g' > $venv/$package_importer
# save NiftyNet folder path just in case
- niftynet_dir=$(pwd)
- cd $venv
