Comments (7)
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.
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.
What does this optimize option do?
from fabio.
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.
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.
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.
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)
- which runtime dependencies for fabio HOT 1
- ValueError: array to be byte-swapped is read-only HOT 4
- [meson] source distribution files have no timestamps HOT 3
- [TIFF] Management of multi-frame tiff HOT 3
- Broken tests in python 3.12 HOT 2
- cannot read marccd image HOT 1
- Several regression in Python3.12 ... related to unclosed gzip files
- Move to pydata sphinx theme
- Support for newer GE files? HOT 10
- Compatibility with numpy 2.0
- Support sparse format from XPCS data ... HOT 1
- Compatibility with `numpy2` (bis) HOT 1
- Using fabio to read detector H5 files other than Eiger (e.g. Lambda, etc) HOT 14
- Write helper function to unlock the number of opened files ....
- Is this warning jutified ? HOT 7
- [2024.4.0] warnings during the build HOT 4
- [2024.4.0][s390x] test failures HOT 1
- Different import version sources HOT 2
- Convert Lima files to Eiger files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabio.