mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-19 19:48:46 +00:00
interpreters/python: create Python's config files dynamically
The `Setup.local` and the `config.site` files are used by Python's build system to, respectively, enable or disable Python's modules and set/unset available functions in the target system. These files are now set according to NuttX's configs, enabling or disabling Python's features according to the configs set on NuttX.
This commit is contained in:
parent
5a7661a928
commit
4c6a6c7b16
4 changed files with 37 additions and 3 deletions
49
interpreters/python/Setup.local.in
Normal file
49
interpreters/python/Setup.local.in
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# This file gets copied into the Modules/ folder when building
|
||||
# newlib configurations which do not support dynamic library
|
||||
# loading.
|
||||
|
||||
*disabled*
|
||||
_asyncio
|
||||
_blake2
|
||||
_bz2
|
||||
_codecs_cn
|
||||
_codecs_hk
|
||||
_codecs_iso2022
|
||||
_codecs_jp
|
||||
_codecs_kr
|
||||
_codecs_tw
|
||||
_ctypes
|
||||
_decimal
|
||||
_elementtree
|
||||
_hashlib
|
||||
_heapq
|
||||
_interpchannels
|
||||
_interpqueues
|
||||
_lsprof
|
||||
_lzma
|
||||
_md5
|
||||
_multibytecodec
|
||||
_sha1
|
||||
_sha2
|
||||
_sha2
|
||||
_sha3
|
||||
_sha3
|
||||
_sqlite3
|
||||
_ssl
|
||||
_statistics
|
||||
_testbuffer
|
||||
_testcapi
|
||||
_testclinic
|
||||
_testclinic_limited
|
||||
_testexternalinspection
|
||||
_testinternalcapi
|
||||
_testlimitedcapi
|
||||
_uuid
|
||||
_xxtestfuzz
|
||||
_zoneinfo
|
||||
mmap
|
||||
pwd
|
||||
pyexpat
|
||||
readline
|
||||
resource
|
||||
xxsubtype
|
||||
Loading…
Add table
Add a link
Reference in a new issue