Closed thatch closed 4 years ago
I think it's because this is a "module" and not a "package" which would be a directory with __init__.py
in it. I didn't look too much into terminology, but this was enough to get it working. Ref https://www.python.org/dev/peps/pep-0561/#packaging-type-information
This PEP does not support distributing typing information as part of module-only distributions. The code should be refactored into a package-based distribution and indicate that the package supports typing as described above.
Makes sense to me. I found this documentation more clear:
If your project contains any single-file Python modules that aren’t part of a package, set py_modules to a list of the names of the modules (minus the .py extension) in order to make setuptools aware of them.
Prior to this change,
setup.py bdist_wheel
does not include mkcodes.py, and this mechanism is used bypip install .
Also add gitignore to make development a little cleaner.