Skip to content

Commit

Permalink
Fix long_description meta in wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Oct 23, 2023
1 parent fc98911 commit 4caebb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
16 changes: 4 additions & 12 deletions RELEASING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,11 @@ Testing
Follow the steps in README-DEVELOPERS.md file for locally creating and
installing the wheel, then test it::

$ cd python-blosc2
$ python setup.py build_ext -i -j
$ BTUNE_TRADEOFF=0.5 BTUNE_USE_INFERENCE=3 BTUNE_MODELS_DIR=../examples/models python -m pytest
$ cd examples
$ BTUNE_TRACE=1 python btune_config.py
$ BTUNE_TRACE=1 BTUNE_TRADEOFF=0.9 BTUNE_USE_INFERENCE=3 python btune_config.py
$ BTUNE_TRACE=1 BTUNE_MODELS_DIR="" python btune_config.py # deactivate inference

This only ensures that the use of Btune does not produce any error. To actually check that Btune is working correctly,
run the examples in the `examples` directory and check with `BTUNE_TRACE=1` the parameters::

$cd examples
$BTUNE_TRACE=1 BTUNE_TRADEOFF=0.7 python create_ndarray.py
$BTUNE_TRACE=1 BTUNE_TRADEOFF=0.7 BTUNE_MODELS_DIR="./models/" python create_ndarray.py
$BTUNE_TRACE=1 python btune_config.py

In the last one you should check that the parameters used by Btune are those se with the function `set_params_defaults`.

Tagging
-------
Expand Down
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build-backend = "scikit_build_core.build"
[project]
name = "blosc2_btune"
version = "1.0.3"
dynamic = ["readme"]
readme = "README.md"
authors = [
{name = "Blosc Development Team", email = "contact@blosc.org"},
]
Expand All @@ -37,16 +37,12 @@ dependencies = [
"blosc2"
]

[tool.setuptools.dynamic]
version = {attr = "blosc2_btune.VERSION"}
readme = {file = ["README.md"], content-type = "text/markdown"}

[tool.setuptools]
platforms = [ "any" ]
zip-safe = false

[tool.cibuildwheel]
skip = "cp36-* cp37-* pp37-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux*"
skip = "*-manylinux_i686 *_ppc64le *_s390x *-musllinux*"

[tool.scikit-build]
# Python ABI compatibility should not be a problem for Blosc plugins
Expand Down

0 comments on commit 4caebb9

Please sign in to comment.