Git Product home page Git Product logo

Comments (4)

zh217 avatar zh217 commented on May 22, 2024

I'm not familiar with packaging for conda either. Are there any specific reason that you must use a conda package instead of the existing pypi package? As you can use pypi packages inside conda environments just fine, I don't really see the benefits.

from cozo.

makkus avatar makkus commented on May 22, 2024

The main reason is that it streamlines the install of my package if conda is used (which it is for my project as it simplifies a few things with native dependencies). As far as I'm aware, I can only add conda dependencies to the (conda) package description of my own package. If one of the dependencies is not available in conda, either users would have to manually install it via pip, or I would have to wrap the whole install process into a script that executes two steps (first create conda env and install conda dependencies, then do the pip stuff).
This creates additional friction and makes the process more fragile. It's not an issue when setting up a dev environment etc., but for shipping end-user applications i've come to appreciate the simplicity.

I can appreciate this not being anywhere near your list of priorities, just wondering whether there are any plans from your side. And it's not an issue for me until cozo is recommended for production use anyway. I might try to figure out packaging Rust code in conda myself if I find a spare minute, and I can publish cozo on my own conda channel, and I can share the CI setup with anyone who is interested.

from cozo.

zh217 avatar zh217 commented on May 22, 2024

Thanks for your understanding. Our priority is indeed improving the core library at the moment. If you want to investigate how to package cozo for conda, the cozo-lib-python package that provides the native binding is built with maturin. I'm not sure if maturin plays well with conda. If maturin proves to be trouble, you might be better off wrapping the C library instead.

from cozo.

makkus avatar makkus commented on May 22, 2024

Thanks, will have a look!

from cozo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.