0

I want to add a type stub file (.pyi) to my module-only project. The projects consists as follows:

foo.py
foo.pyi
setup.py

I know foo.py should be added to py_modules arguments in setup function. But I don't know where foo.pyi should be added.

The repository I'm trying to handle is https://github.com/studio-ousia/mojimoji

tamuhey
  • 2,904
  • 3
  • 21
  • 50
  • 1
    looks like [this thread](https://stackoverflow.com/questions/1612733/including-non-python-files-with-setup-py) can help – Azat Ibrakov Apr 20 '20 at 08:21
  • @AzatIbrakov Thanks! I tried all the methods described in the link you suggested, but it didn't work.. – tamuhey Apr 20 '20 at 08:46

0 Answers0