Skip to content
  • Georges Racinet's avatar
    Packaging: imported fetch-watch-tags as a module · 7ecb143dc676
    Georges Racinet authored
    The given paths will now be interpreted from the current
    working directory, as this is more natural for a console script,
    that typically is installed in some `bin` directory (by default
    on the conversion system, it will be `~/.local/bin`. Services and
    timers can still use absolute paths.
    
    This change brings in the dependency to `requests`, or, rather, makes
    it explicit.
    
    Also, Python console scripts take care of returning with code 0
    if the callable returns nothing (actually, `None`).
    
    Complements: `sys.exit(None)` gives return code 1 in interactive
    sessions and code 0 if non-interactive.
    7ecb143dc676