Rodrigo Schmidt Nurmberg commited on
Commit
4a40cee
·
1 Parent(s): 904d2fb

fix(packaging): Ensure typing files are included in wheel

Browse files

The `highlightedtextbox.pyi` file was missing from the distributed
package because a .gitignore rule was excluding it from build.

Also adds the `py.typed` marker file, to ensure the package is correctly identified as typed per PEP 561.

src/.gitignore CHANGED
@@ -5,5 +5,4 @@ __pycache__/
5
  *.py[cod]
6
  *$py.class
7
  __tmp/*
8
- *.pyi
9
- node_modules
 
5
  *.py[cod]
6
  *$py.class
7
  __tmp/*
8
+ node_modules
 
src/backend/gradio_highlightedtextbox/py.typed ADDED
File without changes