From dd0f9847e2d147368bc5190df67a307d65c69090 Mon Sep 17 00:00:00 2001 From: Shakeeb Alireza Date: Mon, 6 Nov 2023 20:55:01 +0300 Subject: [PATCH] tweak to enable shared-tiny-ext for np --- .../tests/test_api/test_api_buffer_np.maxpat | 23 ++++++++++++++++++- source/projects/py/builder/core.py | 3 ++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/patchers/tests/test_api/test_api_buffer_np.maxpat b/patchers/tests/test_api/test_api_buffer_np.maxpat index 2f7d6092..99ab4114 100644 --- a/patchers/tests/test_api/test_api_buffer_np.maxpat +++ b/patchers/tests/test_api/test_api_buffer_np.maxpat @@ -39,6 +39,19 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-22", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 491.0, 316.0, 112.0, 35.0 ], + "text" : "import numpy, numpy.__version__" + } + + } +, { "box" : { "id" : "obj-20", "maxclass" : "message", @@ -385,7 +398,8 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 478.0, 442.0, 69.0, 22.0 ] + "patching_rect" : [ 478.0, 442.0, 69.0, 22.0 ], + "text" : "1.26.1" } } @@ -515,6 +529,13 @@ "source" : [ "obj-21", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-22", 0 ] + } + } , { "patchline" : { diff --git a/source/projects/py/builder/core.py b/source/projects/py/builder/core.py index 0333ef6c..f376191c 100644 --- a/source/projects/py/builder/core.py +++ b/source/projects/py/builder/core.py @@ -22,7 +22,9 @@ SharedPythonBuilder SharedPythonForExtBuilder SharedPythonForPkgBuilder + TinySharedPythonBuilder StaticPythonBuilder + TinyStaticPythonBuilder RelocatablePythonBuilder PyJsBuilder LocalSystemBuilder @@ -1458,7 +1460,6 @@ def remove_packages(self): "pydoc_data", "sqlite3", "ssl.py", - "urllib", "wsgiref", "xml", "zoneinfo",