This repository was archived by the owner on May 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +21
-13
lines changed
Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 11# Jakarta
22
3+ ## Release 2020.330 patch1
4+
5+ * cmake
6+
7+ * Port FindNumpy macro to Python3
8+
9+ * scbulletin, scdumpobject
10+
11+ * Fix crash at start
12+
313## Release 2020.330
414
515``` SC_API_VERSION 13.0.0 ```
Original file line number Diff line number Diff line change 55# PYTHON_NUMPY_INCLUDE_DIR - directory where the arrayobject.h header file can be found
66
77IF (PYTHON_EXECUTABLE)
8- FILE (WRITE ${CMAKE_CURRENT_BINARY_DIR} /det_npp.py "try : import numpy; print numpy.get_include()\n except: pass\n " )
9- EXEC_PROGRAM ("${PYTHON_EXECUTABLE} "
10- ARGS "\" ${CMAKE_CURRENT_BINARY_DIR} /det_npp.py\" "
11- OUTPUT_VARIABLE NUMPY_PATH
12- )
13- FILE (REMOVE ${CMAKE_CURRENT_BINARY_DIR} /det_npp.py)
8+ FILE (WRITE ${CMAKE_CURRENT_BINARY_DIR} /det_npp.py "from __future__ import print_function \n try : import numpy; print( numpy.get_include() )\n except: pass\n " )
9+ EXEC_PROGRAM ("${PYTHON_EXECUTABLE} "
10+ ARGS "\" ${CMAKE_CURRENT_BINARY_DIR} /det_npp.py\" "
11+ OUTPUT_VARIABLE NUMPY_PATH
12+ )
13+ FILE (REMOVE ${CMAKE_CURRENT_BINARY_DIR} /det_npp.py)
1414ENDIF (PYTHON_EXECUTABLE)
1515
1616FIND_PATH (PYTHON_NUMPY_INCLUDE_DIR numpy/arrayobject.h
17- "${NUMPY_PATH} /"
18- DOC "Directory where the numpy/arrayobject.h header file can be found. This file is part of the numpy package"
17+ "${NUMPY_PATH} /"
18+ DOC "Directory where the numpy/arrayobject.h header file can be found. This file is part of the numpy package"
1919)
2020
2121IF (PYTHON_NUMPY_INCLUDE_DIR)
22- SET (PYTHON_NUMPY_FOUND 1 CACHE INTERNAL "Python numpy development package is available" )
22+ SET (PYTHON_NUMPY_FOUND 1 CACHE INTERNAL "Python numpy development package is available" )
2323ENDIF (PYTHON_NUMPY_INCLUDE_DIR)
Original file line number Diff line number Diff line change @@ -1038,8 +1038,7 @@ def run(self):
10381038
10391039
10401040def main ():
1041- argv = [ bytes (a .encode ()) for a in sys .argv ]
1042- app = BulletinApp (len (argv ), argv )
1041+ app = BulletinApp (len (sys .argv ), sys .argv )
10431042 return app ()
10441043
10451044
Original file line number Diff line number Diff line change 66class ObjectDumper (Client .Application ):
77
88 def __init__ (self ):
9- argv = [bytes (a .encode ()) for a in sys .argv ]
10- Client .Application .__init__ (self , len (argv ), argv )
9+ Client .Application .__init__ (self , len (sys .argv ), sys .argv )
1110 self .setMessagingEnabled (True )
1211 self .setDatabaseEnabled (True , False )
1312 self .setMessagingUsername ("" )
You can’t perform that action at this time.
0 commit comments