The stub file pyodbc.pyi needs special care when generating the wheel, to ensure it is placed in the "site-packages" directory on install. The relevant setup.py code was reverted recently, so I have re-reverted it back. Apparently, we also need to set "include package data" to False now (because it is defaulted to True when using pyproject.toml).
FYI, this code (or at least its equivalent) does not work in pyproject.toml, hence it must remain in setup.py for the time being.
The stub file pyodbc.pyi needs special care when generating the wheel, to ensure it is placed in the "site-packages" directory on install. The relevant setup.py code was reverted recently, so I have re-reverted it back. Apparently, we also need to set "include package data" to False now (because it is defaulted to True when using pyproject.toml).
FYI, this code (or at least its equivalent) does not work in pyproject.toml, hence it must remain in setup.py for the time being.
Also, quick fix for MANIFEST.in.