Document how to add a new C extension module
Đang mở
@tiran đang làm issue này rồi.
Từ ngày 9/7/2022.
topic-c api
topic-dev process
type-feature
- Ngôn ngữ chính
- Python
- Star
- 2.1k
- Fork
- 1k
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
memo to me
Python 3.12 will drop setup.py. 3.11 has already detects most modules on configure and builds them through Modules/Setup.stdlib. The new system is not well documented yet.
configure.ac
PY_STDLIB_MOD/PY_STDLIB_MOD_SIMPLESRCDIRSif module is in a subdirectory- How to write
PKG_CHECK_MODULESblock
Modules/Setup.stdlib.in
@MODULE_SPAM_TRUE@spam spam.c egg.c
Makefile.pre.in
MODULE_SPAM_DEPS=$(srcdir)/Modules/spam.h
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.