summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build10
-rw-r--r--pypaste/meson.build3
-rw-r--r--pypaste/s3/meson.build1
-rw-r--r--pypaste/sqlite/meson.build1
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)