[GH-ISSUE #228] Issue 1: Missing __init__.py files in packages #176

Closed
opened 2026-10-26 09:55:52 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @PrinceSajjadHussain on GitHub (Jun 19, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/228

The `setuptools.find_packages` function in `setup.py` is used to automatically discover packages to include in the distribution. However, for a directory to be recognized as a package, it must contain an `__init__.py` file. The `deep_ep` directory, and any subdirectories intended to be packages (such as within `deep_ep`), may be missing these files. Adding `__init__.py` (even empty ones) to those directories will ensure that setuptools correctly identifies them as packages.
Originally created by @PrinceSajjadHussain on GitHub (Jun 19, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/228 <Body> The `setuptools.find_packages` function in `setup.py` is used to automatically discover packages to include in the distribution. However, for a directory to be recognized as a package, it must contain an `__init__.py` file. The `deep_ep` directory, and any subdirectories intended to be packages (such as within `deep_ep`), may be missing these files. Adding `__init__.py` (even empty ones) to those directories will ensure that setuptools correctly identifies them as packages. </Body>
Author
Owner

@alpha-baby commented on GitHub (Jun 20, 2025):

github.com/deepseek-ai/DeepEP@9d4f7ef8ee/deep_ep/init.py#L1

already has __init__.py file in here.

<!-- gh-comment-id:2989698374 --> @alpha-baby commented on GitHub (Jun 20, 2025): https://github.com/deepseek-ai/DeepEP/blob/9d4f7ef8eeedd9970c2bb8efe998e07e7bb9df5b/deep_ep/__init__.py#L1 already has `__init__.py` file in here.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#176
No description provided.