-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Request for conda forge recipe #161
Comments
Hi faysou, thanks for the suggestion. I don't have any experience with Conda. Would you be interested in creating a pull request, adding whatever is required? |
Hi Dobiasd, I don't have experience with conda forge as well, and I don't have a high level in c++, I'm just a casual user who uses c++ sometimes for prototypes. There are some guidelines here regarding conda-forge. |
OK, thanks. One question to help me better understand your motivation: Did you already get FunctionalPlus running with one of the other ways to install? |
Yes I did. I can also get it working in xeus cling by including the path to it, as your library is header only. I just thought providing the library in conda forge would make it even easier for people, and contribute to more people using this library. |
Thanks, understood. Yes, supporting as many package managers as possible might be convenient for potential users. However, it also adds complexity for future releases and additional overhead for the maintainers of the library, e.g., me. 😉 If I remember correctly, we were supporting one additional package manager in the past, but later removed it, because of all the overhead (manual work for releases) involved. However, I currently can not remember its name. Maybe it even wasn't in FunctionalPlus but in frugally-deep. Nevertheless, if the demand for conda is not very high, my default would be to not implement it. Do you know how common conda is for installing non-Python (especially C++) libraries? I see |
Xtensor uses conda for distribution, as well as other projects from quantstack. This allows an easy installation in xeus cling. |
Here is an example of where the conda forge repos are. |
OK, it seems there is no C++ knowledge needed to create a conda recipe. Also, one does not even need to adjust the actual library repository, everything is done externally, i.e., in The two examples of C++-header-only libraries look very similar:
It also seems well documented. I'll give it a try. |
OK, done: conda-forge/staged-recipes#10609 But let's see what happens. 😉 |
Nice, good luck ! |
My PR was just merged. 🙂 I don't know how the process will continue from now, but I guess at some point https://github.com/conda-forge/FunctionalPlus-feedstock will be available and conda config --add channels conda-forge
conda install FunctionalPlus should work. Right now this is not (yet) the case. |
That's good. I think the use of xeus cling will increase over time, and potentially of your library too. I like functional programming, I used to work a lot in Mathematica and I almost never wrote loops in it. |
This is very good news! This reminds me that I had written an article about Cling and I had used FunctionalPlus in the demonstrations. (And you can jump directly to a xeus notebook that uses fplus here: https://mybinder.org/v2/gh/pthom/Cling_Repl_Demo/master?filepath=notebooks%2F2_Functional_REPL.ipynb ) |
|
It would be practical if this library could be installed via conda using a conda-forge recipe.
This way it would make it easy for people using xeus-cling to use it.
The text was updated successfully, but these errors were encountered: