File: Add-Python-package.patch

package info (click to toggle)
aoflagger 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,000 kB
  • sloc: cpp: 67,891; python: 497; sh: 242; makefile: 22
file content (18 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Ole Streicher <olebole@debian.org>
Date: Mon, 23 May 2022 14:22:02 +0200
Subject: Add Python package

---
 python/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 420f978..16da99d 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -6,4 +6,4 @@ target_link_libraries(
   python_aoflagger
   PUBLIC aoflagger-lib
   PUBLIC ${ALL_LIBRARIES})
-install(TARGETS python_aoflagger DESTINATION lib)
+install(TARGETS python_aoflagger DESTINATION "/usr/lib/python3/dist-packages/")