Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-5971

Make technote-bootstrap conda-friendly

    Details

    • Templates:
    • Story Points:
      0.2
    • Team:
      SQuaRE

      Description

      If someone runs pip install -r requirements.txt while running conda (either the default environment, or a custom environment, conda will tell pip to install those files in src/ of the current working directory. (Note: it doesn’t do this for regular pip install commands; only for pip install -r commands). The end result is that a user will unwittingly litter their technote’s directory and cause build errors.

      The solution is

      1. Ship a conda-compatible package list file (note that it can’t use pip’s tricks to install from GitHub as I currently do) with technote bootstrap
      2. Add instructions to the technote bootstrap’s README to conda create -n technote-env —file conda-reqs.txt and then source activate that environment when working on a technote.

        Attachments

          Activity

            People

            • Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Jonathan Sick, Lynne Jones
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel