ChatCrawlersearch across public Telegram Open the app
P

Python

сообщение · 2025-08-19 18:22 UTC
M
Hello everyone, how do I distribute a single python module file (my_module.py) using pyproject.toml and also including stuff like py.typed? I tried finding a minimal example, but all examples seem to be about packages rather than a single module. I am having a hard time writing pyproject.toml for a single module file along with including py.typed in distribution, even if I get it done to distribute module, it seems to be not including py.typed in the distribution/installation, leading mypy report error: bash error: Skipping analyzing "my_module": module is installed, but missing library stubs or py.typed marker [import-untyped] Could anyone please guide me? Here's my current pyproject.toml: https://hastebin.com/share/lawecihoji.ini I used pip install . in the same directory of the module to install, was it correct the way? Sorry if this is off-topic, I do not know where to ask for this help, since it's python language related.

Вся лента · оригинал в Telegram

Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog