Skip to content

Commit

Permalink
include type info in the packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
sillydan1 committed Sep 26, 2024
1 parent f3537a5 commit a78f537
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ include INSTALL LICENSE VERSION
include README.md USAGE.md history.md
include setup.py prober.py
include posix_ipc_module.c
include posix_ipc.pyi
include py.typed
recursive-include prober *.c
recursive-include demo *.h *.c *.py *.sh *.png *.txt *.md
recursive-include demo2 *.py *.txt *.png *.md
Expand Down
30 changes: 15 additions & 15 deletions posix_ipc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ def unlink_message_queue(name: str) -> None: ...

# module constants

O_CREX: int = ...
O_CREAT: int = ...
O_EXCL: int = ...
O_TRUNC: int = ...
PAGE_SIZE: int = ...
SEMAPHORE_TIMEOUT_SUPPORTED: bool = ...
SEMAPHORE_VALUE_SUPPORTED: bool = ...
SEMAPHORE_VALUE_MAX: int = ...
MESSAGE_QUEUES_SUPPORTED: bool = ...
QUEUE_MESSAGES_MAX_DEFAULT: int = ...
QUEUE_MESSAGE_SIZE_MAX_DEFAULT: int = ...
QUEUE_PRIORITY_MAX: int = ...
USER_SIGNAL_MIN: int = ...
USER_SIGNAL_MAX: int = ...
VERSION: str = ...
O_CREX: int
O_CREAT: int
O_EXCL: int
O_TRUNC: int
PAGE_SIZE: int
SEMAPHORE_TIMEOUT_SUPPORTED: bool
SEMAPHORE_VALUE_SUPPORTED: bool
SEMAPHORE_VALUE_MAX: int
MESSAGE_QUEUES_SUPPORTED: bool
QUEUE_MESSAGES_MAX_DEFAULT: int
QUEUE_MESSAGE_SIZE_MAX_DEFAULT: int
QUEUE_PRIORITY_MAX: int
USER_SIGNAL_MIN: int
USER_SIGNAL_MAX: int
VERSION: str

# errors

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@
license=license,
keywords=keywords,
ext_modules=ext_modules,
package_data={"posix_ipc": ["*.pyi", "py.typed"]}
package_data={"posix_ipc": ["*.pyi", "py.typed"]},
include_package_data=True
)

0 comments on commit a78f537

Please sign in to comment.