package/python-memray: new package

Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fiona Klute (WIWA)
2025-08-11 18:18:09 +02:00
committed by Thomas Petazzoni
parent e58321b680
commit c2df8bab97
6 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# The test needs some code to profile, it does not have to be much.
def run(a):
print(a[0])
if __name__ == '__main__':
# make sure there's at least a small allocation
a = ['Hello World!']
run(a)