Code Monkey home page Code Monkey logo

Comments (9)

eduardo-rodrigues avatar eduardo-rodrigues commented on July 1, 2024

Hello. Thank you for reporting. Feel encouraged to suggest a rephrasing with a MR - we appreciate contributions. Otherwise we will deal with this asap.

from scikit-hep.github.io.

flying-sheep avatar flying-sheep commented on July 1, 2024

I think it’s a bigger decision, since the page title is “Pure Python packaging”. I don’t know if the intention for that page is to showcase PEP 621 build backends or if you want to write a page about Pure Python packaging and the PEP 621 backends just happen to be the best option for that.

I think the only example for building native code with one of them so far is https://github.com/ofek/hatch-mypyc/, but I’m sure that’ll change: setuptools has a lot of cruft and is pretty slow, so some people will be happy to move on eventually.

from scikit-hep.github.io.

eduardo-rodrigues avatar eduardo-rodrigues commented on July 1, 2024

That's fair enough. OK, we will discuss.

from scikit-hep.github.io.

henryiii avatar henryiii commented on July 1, 2024

The problem is that there needs to be a clear "choose one", that is, why pick PEP 621 over classic config, or vice versa? Currently, while there are some limited examples of PEP 621 binary builders, there isn't a very good major one. Setuptools can do it, though you still need a setup.py too, there are a few examples of combing it with something like Hatch, and probably the best example is Maturin for Rust or masonpy (which wasn't cross-platform last I checked, and there's very little precedent for meson in HEP at least). I'm hoping to work on https://iscinumpy.dev/post/scikit-build-proposal/ which will provide a really good PEP 621 backend for binary projects, but that's not happening yet. That's one reason I was really interested in getting good PEP 621 docs up!

I think we can probably edit the language a little, but I don't think we can get away from the PEP 621 mostly for non-binary projects quite yet.

from scikit-hep.github.io.

henryiii avatar henryiii commented on July 1, 2024

(You'll notice the URL does not have "pure python" in it, that was intentional)

from scikit-hep.github.io.

flying-sheep avatar flying-sheep commented on July 1, 2024

I think we can probably edit the language a little

So something like the following, makes sense! “Fully specifying your package metadata in pyproject.toml (PEP 621) is the simplest way to package your project. At the time of writing, this option is only mature for pure Python projects without compiled extensions.”

from scikit-hep.github.io.

eduardo-rodrigues avatar eduardo-rodrigues commented on July 1, 2024

I think you've dealt with this by now, right @henryiii?

from scikit-hep.github.io.

henryiii avatar henryiii commented on July 1, 2024

I attempted to, yes. Thought I'd marked the PR to close this.

from scikit-hep.github.io.

flying-sheep avatar flying-sheep commented on July 1, 2024

You wrote

Partially addressing #200 as well.

I’m happy with the change though!

from scikit-hep.github.io.

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.