Skip to content

Commit ce7ec7e

Browse files
authored
Merge pull request #10 from hz-b/dev/feature/meson-build
Switch to meson as build system
2 parents fc1b785 + aee2c69 commit ce7ec7e

File tree

16 files changed

+90
-595
lines changed

16 files changed

+90
-595
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11+
- uses: ConorMacBride/install-package@v1
12+
with:
13+
apt: protobuf-compiler
1114
- uses: actions/checkout@v4
1215
- name: Set up Python
1316
uses: actions/setup-python@v5

.github/workflows/python-package.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: False
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12"]
2020
numpy-version: [ "numpy<2.0" , "numpy>=2.0" ]
2121

2222
steps:
@@ -36,12 +36,11 @@ jobs:
3636
3737
- name: Install dependencies
3838
run: |
39-
python -m pip install --upgrade pip
40-
python -m pip install flake8 pytest wheel setuptools build
41-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
39+
python -m pip install --upgrade pip wheel pytest flake8
40+
# python -m pip install flake8 pytest wheel build
41+
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
4242
- name: build and binary module
4343
run: |
44-
python setup.py build_proto_c
4544
python -m pip wheel ./
4645
python -m pip install ./
4746

.github/workflows/python-publish.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

Changelog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-09-27 Pierre Schnizer <[email protected]>
2+
* meson build system: replaced setuptools with meson
3+
build. facilites compiling
4+
15
2021-04-16 Pierre Schnizer <[email protected]>
26

37
* archiver.getData: t0, t1 now required to be timezone aware

MANIFEST.in

Lines changed: 0 additions & 13 deletions
This file was deleted.

bact_archiver/glob.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
for i in *.py;
3+
do
4+
echo "$i"
5+
done

bact_archiver/meson.build

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
py_sources = run_command('/bin/sh',
2+
['glob.sh'],
3+
check : true
4+
).stdout().strip().split('\n')
5+
6+
py.install_sources(
7+
py_sources,
8+
'archiver.cfg',
9+
pure: false,
10+
subdir: 'bact_archiver'
11+
)

0 commit comments

Comments
 (0)