Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make binary wheel for pytraj? #1645

Open
hainm opened this issue Dec 8, 2023 · 5 comments
Open

Make binary wheel for pytraj? #1645

hainm opened this issue Dec 8, 2023 · 5 comments

Comments

@hainm
Copy link
Contributor

hainm commented Dec 8, 2023

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.
@PhiMykah
Copy link

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.

@hainm
Copy link
Contributor Author

hainm commented Jan 24, 2024

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:

@hainm
Copy link
Contributor Author

hainm commented Jan 24, 2024

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

@PhiMykah
Copy link

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

@hainm
Copy link
Contributor Author

hainm commented Jan 24, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants