Skip to content

Make binary wheel for pytraj? #1645

Open

Description

@hainm

so user can easily do pip install pytraj as usual. I stop doing this since it's a bit complicated to build pytraj and I didn't spend much time to figure out.

One (easy?) way to do is to

  • download ambertools conda build from conda-forge for each python version
  • copy pytraj folder with libcpptraj.{so,dylib} and correct the linking.

Activity

  1. PhiMykah commented on Jan 24, 2024

    @PhiMykah

    Hello @hainm ! I am interested in tackling this. Let me know if there are any resources you think I should have or things I should know while in this process.

  2. hainm commented on Jan 24, 2024

    @hainm
    ContributorAuthor

    Dear @PhiMykah

    I've outlined the easy way to do thing above.

    Easiest way (different from what other people are doing)

    Basically:

    Official way: But it's for conda-build only, not for pip install.

    • Create libcpptraj build recipe in conda-forge, use their infra to build libcpptraj and (automatically) push to anaconda repo
    • The create pytraj build recipe in conda-forge, using libcpptraj above as dependency.

    It's a bit complicated (because I didn't know better way).
    But for reference: those are scripts I used many years ago:

  3. hainm commented on Jan 24, 2024

    @hainm
    ContributorAuthor

    @PhiMykah See manylinux docker images to build compatible wheel: https://github.com/pypa/manylinux

  4. PhiMykah commented on Jan 24, 2024

    @PhiMykah

    @hainm Thank you! I will begin looking into it.

  5. hainm commented on Jan 24, 2024

    @hainm
    ContributorAuthor

    thanks @PhiMykah.

    It will be wonderful if you could resolve this issue.

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