diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-09 21:11:51 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-09 21:11:59 -0400 |
commit | 77f9ad0b1b39d68efd5966392e5025230bb450e1 (patch) | |
tree | e525c2ed252b9d87e278551abe1eeb91f466f263 | |
parent | 1768cc7d65ffee3f7094a215028ff19a6afdfa2c (diff) | |
download | pypaste-77f9ad0b1b39d68efd5966392e5025230bb450e1.tar.gz |
fix meson build
Define all sources at the top level meson.build so that they get
installed in the correct subdir.
-rw-r--r-- | meson.build | 10 | ||||
-rw-r--r-- | pypaste/meson.build | 3 | ||||
-rw-r--r-- | pypaste/s3/meson.build | 1 | ||||
-rw-r--r-- | pypaste/sqlite/meson.build | 1 |
4 files changed, 8 insertions, 7 deletions
diff --git a/meson.build b/meson.build index 41ebb91..7c9ab84 100644 --- a/meson.build +++ b/meson.build @@ -4,9 +4,13 @@ python = import('python').find_installation( modules: ['pygments', 'zstandard', 'aiohttp', 'bozo4'], ) -sources = [] - -subdir('pypaste') +sources = files( + 'pypaste/__init__.py', + 'pypaste/__main__.py', + 'pypaste/s3/__init__.py', + 'pypaste/s3/bucket.py', + 'pypaste/sqlite/__init__.py', +) python.install_sources(sources, preserve_path: true) diff --git a/pypaste/meson.build b/pypaste/meson.build deleted file mode 100644 index f9ac8bc..0000000 --- a/pypaste/meson.build +++ /dev/null @@ -1,3 +0,0 @@ -sources += files('__init__.py', '__main__.py') - -subdir('s3') diff --git a/pypaste/s3/meson.build b/pypaste/s3/meson.build deleted file mode 100644 index dc7bce5..0000000 --- a/pypaste/s3/meson.build +++ /dev/null @@ -1 +0,0 @@ -sources += files('__init__.py', 'bucket.py') diff --git a/pypaste/sqlite/meson.build b/pypaste/sqlite/meson.build new file mode 100644 index 0000000..b1c4131 --- /dev/null +++ b/pypaste/sqlite/meson.build @@ -0,0 +1 @@ +sources += files('__init__.p'y) |