Skip to content

Commit

Permalink
Meson files and readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Feb 16, 2024
1 parent 0966643 commit 5f6dad5
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 45 deletions.
21 changes: 9 additions & 12 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
- graphviz
jobs:
post_create_environment:
- pip install pdm pip -U
post_install:
- pdm use -f $READTHEDOCS_VIRTUALENV_PATH
- pdm sync -G doc -G opencv --no-self
- pip install . -C setup-args=-Dtransonic-backend=python

sphinx:
configuration: doc/conf.py

python:
system_packages: true
install:
- method: pip
path: .
extra_requirements:
- doc
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ project(
meson_version: '>= 1.1.0',
default_options: [
'buildtype=release',
'c_std=c99',
'cpp_std=c++14',
'cpp_std=c++11',
],
)

Expand Down
2 changes: 0 additions & 2 deletions src/fluidimage/calcul/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ py.install_sources(
)

subdir('interpolate')
subdir('plot_evaluate_subpix')

run_command(['transonic', '--meson', '--backend', backend, 'correl.py', 'subpix.py'], check: true)

foreach be : backends
subdir('__' + be + '__')
endforeach

11 changes: 0 additions & 11 deletions src/fluidimage/calcul/plot_evaluate_subpix/meson.build

This file was deleted.

2 changes: 0 additions & 2 deletions src/fluidimage/calibration/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/calibration'
)


2 changes: 0 additions & 2 deletions src/fluidimage/data_objects/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/data_objects'
)


2 changes: 0 additions & 2 deletions src/fluidimage/executors/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/executors'
)


2 changes: 0 additions & 2 deletions src/fluidimage/gui/launcher/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/gui/launcher'
)


2 changes: 0 additions & 2 deletions src/fluidimage/postproc/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/postproc'
)


2 changes: 0 additions & 2 deletions src/fluidimage/preproc/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/preproc'
)


2 changes: 0 additions & 2 deletions src/fluidimage/reconstruct/tomo/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/reconstruct/tomo'
)


2 changes: 0 additions & 2 deletions src/fluidimage/util/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/util'
)


2 changes: 0 additions & 2 deletions src/fluidimage/works/piv/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ py.install_sources(
python_sources,
subdir: 'fluidimage/works/piv'
)


0 comments on commit 5f6dad5

Please sign in to comment.