[prev in list] [next in list] [prev in thread] [next in thread] 

List:       monetdb-checkins
Subject:    MonetDB: Jan2022 - Fix dev installation of python testing package
From:       Panagiotis_Koutsourakis <commits+kutsurak=monetdbsolutions.com
Date:       2022-10-28 10:17:44
Message-ID: hg.6f32a4fefe4e.1666952264.-60126145553169392 () dev ! monetdb ! org
[Download RAW message or body]

Changeset: 6f32a4fefe4e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6f32a4fefe4e
Modified Files:
	testing/CMakeLists.txt
Branch: Jan2022
Log Message:

Fix dev installation of python testing package


diffs (27 lines):

diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt
--- a/testing/CMakeLists.txt
+++ b/testing/CMakeLists.txt
@@ -137,8 +137,8 @@ if(PYTHON3_LIBDIR)
     COMPONENT pytesting)
 
   if(BUILD_TESTING_PACKAGE)
-    set(pypackagedir "${CMAKE_BINARY_DIR}/pytesting/src/MonetDBtesting")
-    make_directory(${pypackagedir})
+    set(pypackagedir "${CMAKE_BINARY_DIR}/pytesting/src")
+    make_directory("${pypackagedir}/MonetDBtesting")
     install(FILES
       process.py
       __init__.py
@@ -152,10 +152,10 @@ if(PYTHON3_LIBDIR)
       helpers.py
       sqltest.py
       utils.py
-      DESTINATION ${pypackagedir})
+      DESTINATION "${pypackagedir}/MonetDBtesting")
 
     configure_file(pyproject.toml.in
-      ${pypackagedir}
+      "${pypackagedir}/pyproject.toml"
       @ONLY)
 
   endif()
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-leave@monetdb.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic