You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For two reasons we should migrate Python scripts to modules and install via entry points.
To allow systematic access to all cmdline scripts from the python API, without messing with subprocesses.
To make it easier to install cmdline scripts on Windows, where pip can take care of all the .bat/.exe wrapping for us.
Once done properly, the python modules could be called like _cli_ncmat2cpp.py for ncrystal_ncmat2cpp, however they could in general come with a Python API frontend e.g. ncmat2cpp.py, where most of the features would be implemented. Or we remove the _ in _cli_ncmat2cpp in case someone feels like providing a custom arg list and call it exactly like the cli script.
Special cases: nctool (just the naming is special) and ncrystal-config (we might want this also as part of a future C++/C API package).
For two reasons we should migrate Python scripts to modules and install via entry points.
Once done properly, the python modules could be called like
_cli_ncmat2cpp.py
forncrystal_ncmat2cpp
, however they could in general come with a Python API frontend e.g.ncmat2cpp.py
, where most of the features would be implemented. Or we remove the_
in_cli_ncmat2cpp
in case someone feels like providing a custom arg list and call it exactly like the cli script.Special cases:
nctool
(just the naming is special) andncrystal-config
(we might want this also as part of a future C++/C API package).Relates to #154 and #152.
The text was updated successfully, but these errors were encountered: