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

Create a binary for Pip #2

Closed
R1j1t opened this issue Aug 7, 2021 · 6 comments · Fixed by #5
Closed

Create a binary for Pip #2

R1j1t opened this issue Aug 7, 2021 · 6 comments · Fixed by #5

Comments

@R1j1t
Copy link
Collaborator

R1j1t commented Aug 7, 2021

Cn we use something similar to setup the dependencies easily via conda https://stackoverflow.com/a/59390280/7630458?
As I can see GDAL has a binary available via conda: https://gdal.org/download.html#conda and same goes for rasterio: https://github.com/conda-forge/rasterio-feedstock#installing-rasterio.

This will make it easy for users to be able to start with the package easily also they don't need to manually install GDAL. Let me know your thoughts on this.

Once this is sorted, I would like to contribute to make this package available on conda or pip for easy consumption.

@seedlit
Copy link
Owner

seedlit commented Aug 7, 2021

Interesting. And thanks for volunteering for contributing.
However, I am also using command line based saga_cmd (also see Saga GIS home page).
I am not sure if we can also setup saga_cmd via conda. I will take a look.

@R1j1t
Copy link
Collaborator Author

R1j1t commented Aug 7, 2021

I did check saga_cmd, I think if it is possible to substitute it then we should aim to do that else, lets leave that part to the user to install. We can update the code to warn the user to install saga. Everything else can be packaged in a library! I think that will a good start and a small win 🥇

@R1j1t
Copy link
Collaborator Author

R1j1t commented Aug 8, 2021

We can use this documentation to build a package and upload it to conda: https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-pkgs.html

@R1j1t
Copy link
Collaborator Author

R1j1t commented Aug 18, 2021

This can be used to pass version number and then upload the package to anaconda.
https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/

@R1j1t
Copy link
Collaborator Author

R1j1t commented Aug 28, 2021

@R1j1t
Copy link
Collaborator Author

R1j1t commented Aug 28, 2021

@seedlit can you add a comment on the PR showing your approval to be the maintainer of the recipe?

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

Successfully merging a pull request may close this issue.

2 participants