summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-09 21:11:51 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-09 21:11:59 -0400
commit77f9ad0b1b39d68efd5966392e5025230bb450e1 (patch)
treee525c2ed252b9d87e278551abe1eeb91f466f263 /meson.build
parent1768cc7d65ffee3f7094a215028ff19a6afdfa2c (diff)
downloadpypaste-77f9ad0b1b39d68efd5966392e5025230bb450e1.tar.gz
fix meson build
Define all sources at the top level meson.build so that they get installed in the correct subdir.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 7 insertions, 3 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)