Skip to content

Switch tutorials repo to a condo install? #156

Closed

Description

@hyanwong

As the tutorials get more extensive, and start including e.g ARG-viz methods (which require graphviz) and perhaps even SLiM installed, it would be helpful to be able to install non-python packets via conda. Is this an easy thing to set up @benjeffery ? ISTR it's a bit of a fiddle, which is why we've been keeping it simple on this repo so far.

Activity

  1. molpopgen commented on Dec 13, 2021

    @molpopgen
    Member

    The graph viz stuff can all be installed with apt. IMO, that's preferable to conda.

  2. jeromekelleher commented on Dec 13, 2021

    @jeromekelleher
    Member

    Agreed - conda is nearly always slower than any other option

  3. hyanwong commented on Dec 13, 2021

    @hyanwong
    MemberAuthor

    But then you can't get it working on different platforms? And we'd have to make the change in the repo somehow anyway? Not sure this applies to SLiM either?

  4. jeromekelleher commented on Dec 13, 2021

    @jeromekelleher
    Member

    Compiling SLiM might be the counter-example. We only have to get stuff working on Linux for this, right? Or are you thinking about the dev environments?

  5. molpopgen commented on Dec 13, 2021

    @molpopgen
    Member

    I thought there were folks working on official packages for slim? A flatpak would solve the problem nicely for any linux distro.

  6. hyanwong commented on Dec 13, 2021

    @hyanwong
    MemberAuthor

    I guess we only need it on Linux, true. It's just that we had the other repos set up with Conda, so I thought this might be an easy thing to do (or perhaps, easier than any other method), especially as there's a SLiM conda package. But maybe not 🤷

  7. molpopgen commented on Dec 13, 2021

    @molpopgen
    Member

    I bet @benjeffery can come up w/a clever way to cache a built slim binary? 😄

  8. benjeffery commented on Dec 14, 2021

    @benjeffery
    Member

    We already use SlIM in the site repo (https://github.com/tskit-dev/tskit-site/blob/main/.github/workflows/build-deploy.yml#L298), it's no big deal. Please just use whatever you want (except conda) and I'll figure it out as we can cache stuff.

  9. hyanwong commented on Jul 20, 2022

    @hyanwong
    MemberAuthor

    Seems like we don't need this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions