pypa / pypa/packaging.python.org
Add more helper libraries to the extension modules page
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 1.7k
- Fork
- 1.7k
- Merge medio
- 3g 12h
- PR unite (30g)
- 4
Descrizione
Rather than creating multiple issues, I've expanded this one to include a checklist for popular extension module helpers that we don't currently mention:
- SIP is the C/C++ binding generator used for PyQT and wxWindows: https://pypi.python.org/pypi/SIP/
- PyCXX: http://cxx.sourceforge.net/PyCXX-Python3.html
- Boost::Python: http://www.boost.org/doc/libs/1_66_0/libs/python/doc/html/index.html
(We may not go into as much detail for these as we do the big three of SWIG, cffi, and Cython, but they're all worth mentioning, especially in combination with #359 to cover milksnake as a meta build system that works with current versions of pip)
One of the neat features of sip specifically is that it can (does?) target the stable ABI in Python 3 at code generation time, with operations that require access to the full CPython API delegated to the runtime sip support module. As a result, it's possible to use it to ship version-independent CPython extension modules that just need the corresponding version of the sip runtime library, rather than having to recompile your own extensions for every new CPython release.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla pagina dei moduli di estensione e confronta la copertura esistente con la checklist di questa issue. Aggiungi brevi riferimenti e link a SIP, PyCXX e Boost::Python, includendo, se appropriato, il contesto rilevante di SIP relativo alla stable ABI. Il lavoro è completato quando tutti e tre gli elementi della checklist sono coperti nella pagina.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100