Uploaded image for project: 'SW'
  1. SW-1038

The shell script bin/pysparkling should print missing dependencies

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.39, 2.2.25, 2.3.14
    • Component/s: None
    • Labels:
      None
    • CustomerVisible:
      No
    • Sprint:

      Description

      The shell script `bin/pysparkling` can check python session and exit directly if some packages are missing and print message proposing to install missing packages.

      For detection of environment, the script can use:
      1) `pip list`, or
      2) a tiny python command which will do:

      for p in ['requests', 'future', 'colorama']: 
        try:
           import p
        except:
           print("pip install {}".format(p))
      

        Attachments

          Activity

            People

            • Assignee:
              Kuba Jakub Hava
              Reporter:
              michal Michal Malohlava
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: