File tree Expand file tree Collapse file tree 9 files changed +20
-21
lines changed
Expand file tree Collapse file tree 9 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 1313
1414 steps :
1515 - uses : actions/checkout@v4
16- with :
17- submodules : ' recursive'
1816
1917 - name : Set up Python ${{ matrix.python-version }}
2018 uses : actions/setup-python@v5
Original file line number Diff line number Diff line change 4747 # Fetch all history for all branches and tags
4848 # (important for guessing the correct version with setuptools_scm)
4949 fetch-depth : 0
50- submodules : ' recursive'
5150
5251 - name : Set up Python
5352 uses : actions/setup-python@v5
9594 # Fetch all history for all branches and tags
9695 # (important for guessing the correct version with setuptools_scm)
9796 fetch-depth : 0
98- submodules : ' recursive'
9997
10098 - uses : actions/setup-python@v5
10199 name : Setup Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change @@ -20,12 +20,14 @@ parts/
2020sdist /
2121var /
2222wheels /
23+ wheelhouse /
2324pip-wheel-metadata /
2425share /python-wheels /
2526* .egg-info /
2627.installed.cfg
2728* .egg
2829MANIFEST
30+ src /blosc2 /_version.py
2931
3032# PyInstaller
3133# Usually these files are written by a python script from a template
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,8 +34,13 @@ else()
3434 set (CMAKE_POSITION_INDEPENDENT_CODE ON )
3535 # we want the binaries of the C-Blosc2 library to go into the wheels
3636 set (BLOSC_INSTALL ON )
37- add_subdirectory (${PROJECT_SOURCE_DIR} /c-blosc2)
38- include_directories ("${PROJECT_SOURCE_DIR} /c-blosc2/include" )
37+ include (FetchContent)
38+ FetchContent_Declare(blosc2
39+ GIT_REPOSITORY https://github.com/Blosc/c-blosc2
40+ GIT_TAG b179abf1132dfa5a263b2ebceb6ef7a3c2890c64
41+ )
42+ FetchContent_MakeAvailable(blosc2)
43+ include_directories ("${blosc2_SOURCE_DIR} /include" )
3944 target_link_libraries (blosc2_ext PRIVATE blosc2_static)
4045endif ()
4146
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ Building from sources
183183
184184.. code-block :: console
185185
186- git clone --recursive https://github.com/Blosc/python-blosc2/
186+ git clone https://github.com/Blosc/python-blosc2/
187187 cd python-blosc2
188188 pip install . # add -e for editable mode
189189
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ Preliminaries
88 to figure it out based on git tags:
99 https://scikit-build-core.readthedocs.io/en/latest/configuration.html#dynamic-metadata
1010
11- * Make sure that the c-blosc2 submodule is updated to the latest version (or a specific
12- version that will be documented in the ``RELEASE_NOTES.md ``)::
13-
14- cd c- blosc2
15- git pull
16- git checkout <desired tag>
17- cd ../..
18- git commit -m "Update C-Blosc2 sources to <desired tag>" c-blosc2
19- git push
11+ * Make sure that the c-blosc2 repository is updated to the latest version (or a specific
12+ version that will be documented in the ``RELEASE_NOTES.md ``). In ` CMakeLists.txt ` edit ::
13+
14+ FetchContent_Declare( blosc2
15+ GIT_REPOSITORY https://github.com/Blosc/c-blosc2
16+ GIT_TAG b179abf1132dfa5a263b2ebceb6ef7a3c2890c64
17+ )
18+
19+ to point to the desired commit/tag in the c-blosc2 repo.
2020
2121* Make sure that the current main branch is passing the tests in continuous integration.
2222
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Source code
1515
1616.. code-block :: console
1717
18- git clone --recursive https://github.com/Blosc/python-blosc2/
18+ git clone https://github.com/Blosc/python-blosc2/
1919 cd python-blosc2
2020 pip install -e .[test]
2121
You can’t perform that action at this time.
0 commit comments