hpyproject / hpy

HPy: a better API for Python
https://hpyproject.org
MIT License
1.02k stars 52 forks source link

hpy-*.whl contains hpy/debug/src/* files #382

Open antocuni opened 1 year ago

antocuni commented 1 year ago

I just noticed it by chance when trying something else:

$ cd /path/to/hpy/
$ pip wheel .
$ unzip -l hpy-0.0.5.dev231+gd126697-cp38-cp38d-linux_x86_64.whl | grep hpy/debug
      315  2022-06-02 22:29   hpy/debug/__init__.py
     1065  2021-04-07 08:22   hpy/debug/leakdetector.py
     1096  2021-07-15 14:30   hpy/debug/pytest.py
    14099  2022-11-25 12:24   hpy/debug/src/_debugmod.c
    11313  2022-11-24 13:10   hpy/debug/src/autogen_debug_ctx_call.i
    27341  2022-11-25 12:24   hpy/debug/src/autogen_debug_ctx_init.h
    24286  2022-11-25 12:24   hpy/debug/src/autogen_debug_wrappers.c
     9990  2022-11-24 13:05   hpy/debug/src/debug_ctx.c
     7240  2022-11-24 13:05   hpy/debug/src/debug_ctx_cpython.c
      664  2021-08-28 10:40   hpy/debug/src/debug_ctx_not_cpython.c
     7655  2022-11-21 13:57   hpy/debug/src/debug_handles.c
     9465  2022-11-21 13:57   hpy/debug/src/debug_internal.h
     2708  2021-08-28 10:40   hpy/debug/src/dhqueue.c
     1696  2022-04-26 10:27   hpy/debug/src/memprotect.c
     2622  2022-10-11 14:35   hpy/debug/src/stacktrace.c
     2294  2022-11-25 12:24   hpy/debug/src/include/hpy_debug.h

This doesn't sound right: hpy/debug/src/* should not be included in the wheel (but they should be included in the source distribution).