clstoulouse / motu-client-python

Motu is a high efficient and robust Web Server which fills the gap between heterogeneous data providers to end users. Motu handles, extracts and transforms oceanographic huge volumes of data without performance collapse. This client enables to extract and download data through a python command line.
GNU Lesser General Public License v3.0
49 stars 22 forks source link

motu-client not available in PATH after installation #10

Closed fox91 closed 6 years ago

fox91 commented 6 years ago

Why should I use this command:

python <PATH_TO_MOTUCLIENT_DIR>/motu-client.py [OPTIONS]
# example:
python /tmp/ENV_MOTU/lib/python3.5/site-packages/motu-client.py [OPTIONS]

when I could simply use this?

motu-client [OPTIONS]
clstoulouse commented 6 years ago

Hi,

In fact it depends on the manner you have installed.

python -m motu-client -h

Regards, Sylvain

fox91 commented 6 years ago

@clstoulouse my solution could be acceptable?

bakhansen commented 6 years ago

@fox91 you could also add it to your path:

export PATH="$PATH:/path/to/motu-client-python"

after which you can execute motu-client.py [options]

clstoulouse commented 6 years ago

@fox91 Yes it is, we will merge your PR soon...

@bakhansen Great tips !

clstoulouse commented 6 years ago

Dear all,

I have merged the PR11, so this issue is fixed in Motu v1.8.1. Thanks a lot for your feedbacks.

Enjoy Motu !