Giter VIP home page Giter VIP logo

Comments (7)

blochl avatar blochl commented on July 28, 2024

Not an issue. Did not notice the transition to meson.
@kif - can you please document the manual meson installation in http://www.silx.org/doc/fabio/latest/install.html#manual-installation-for-any-operating-system ?

While at it, is the old flag --optimize=1 still valid? The meson build seems not to have such an option.

from fabio.

kif avatar kif commented on July 28, 2024

Hi, since python 3.12 is out, the instsllation based on setup.py is no more functionnal (it was relying on numpy.distutils). I am preparing a new release which supports only meson-python. Thanks for reminding me to ensure the docs have been updated.
Until then, you can have a look at the nighly built doc at:
https://www.silx.org/doc/fabio/dev/install.html
Thanks for taking care of the Arch packaging.

from fabio.

kif avatar kif commented on July 28, 2024

What does this optimize option do?

from fabio.

blochl avatar blochl commented on July 28, 2024

Hi, since python 3.12 is out, the instsllation based on setup.py is no more functionnal (it was relying on numpy.distutils). I am preparing a new release which supports only meson-python. Thanks for reminding me to ensure the docs have been updated. Until then, you can have a look at the nighly built doc at: https://www.silx.org/doc/fabio/dev/install.html Thanks for taking care of the Arch packaging.

Thanks!

from fabio.

blochl avatar blochl commented on July 28, 2024

What does this optimize option do?

Here's the doc for the --optimize=1 option I've used so far: https://setuptools.pypa.io/en/latest/deprecated/distutils/apiref.html#distutils.util.byte_compile

I wonder if meson takes care of it automatically...

from fabio.

kif avatar kif commented on July 28, 2024

There is optimization at 2 levels:

  • When compiling the code, https://github.com/silx-kit/fabio/blob/main/bootstrap.py#L39 where you can specify the debug/plain/release mode (note this is automatically properly handled).
  • the byte-compilation of the source python files and I believe, this is performed by the pip tool which installs files from the wheel.

from fabio.

blochl avatar blochl commented on July 28, 2024

Thanks, all clear, closing the issue, and the package is updated.

@kif - just can you please describe the manual installation method in the doc (without pip, as pip can't always be used). I.e.:

python -m build --wheel --no-isolation
python -m installer dist/*.whl

from fabio.

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.