Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texttable.pyi file missing when installed via pip #82

Closed
ddalcino opened this issue Nov 19, 2022 · 2 comments
Closed

texttable.pyi file missing when installed via pip #82

ddalcino opened this issue Nov 19, 2022 · 2 comments

Comments

@ddalcino
Copy link

I see that someone has taken the trouble to add a very nice texttable.pyi file to this project, and included it in MANIFEST.in. I can also see that the texttable.pyi file is present in the texttable-x.x.x.tar.gz file available at https://pypi.org/project/texttable/#files.

However, when I install texttable in a venv using pip install texttable (pip is version 22.3.1), mypy cannot locate the texttable.pyi file, and neither can I. In my venv/python3.10/site-packages folder, I have lots of libraries in their own folders, and one texttable.py file on its own, without any folder. There's a texttable-1.6.4.dist-info folder, but it includes metadata and no .pyi file.

This might be a bug for pip rather than a bug for texttable, but I thought I would bring it to your attention first. It could be easier to fix the problem by packaging texttable a different way, rather than changing pip.

@foutaise
Copy link
Owner

Hi ddalcino,

OK, yet another surprise with pip tooling/packaging. I really hate python packaging.
Anyway, I've just released a new version (1.6.5) that will include the missing file.

Best regards.

@foutaise
Copy link
Owner

FYI: #84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants