nasa-jpl / autoRIFT

A Python module of a fast and intelligent algorithm for finding the pixel displacement between two images
Apache License 2.0
218 stars 53 forks source link

GeogridOptical.py does not have command line parsing #2

Closed piyushrpt closed 4 years ago

piyushrpt commented 5 years ago

Looks like GeogridOptical.py does not have a command line parsing component. This gets installed in the "bin" folder as this is listed as a script. If the intention is for this to be a script, it probably should include a "main" with command line options for users to use it directly. It should be a callable command to be installed in the "bin" folder. If its meant to be a library - this should also be within the package itself.

piyushrpt commented 5 years ago

I would do something like this for stand alone installation:

setup (name = 'autoRIFT',
        version = '1.0',
        description = 'This is the autoRIFT python package',
        package_dir={'autoRIFT': 'geo_autoRIFT/autoRIFT',
                               'geogrid': 'geo_autoRIFT/geogrid'},
        packages=['autoRIFT', 'geogrid'],
        ext_modules = extensions)

Geogrid should then work even if ISCE was installed completely independently of autoRIFT.